public final class TypeLibInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TypeLibInfo.Version
Represents the version number of the form "x.y"
|
Modifier and Type | Field and Description |
---|---|
int |
lcid
Locale ID.
|
String |
libName
Human readable library name.
|
File |
typeLibrary
Type library file.
|
TypeLibInfo.Version |
version
Type library version.
|
Constructor and Description |
---|
TypeLibInfo(String libName,
File typeLibrary,
TypeLibInfo.Version version,
int lcid) |
Modifier and Type | Method and Description |
---|---|
static TypeLibInfo |
locate(GUID libid,
String version)
Locates the type library file from the LIBID (a GUID) and an optional version number.
|
public final String libName
public final File typeLibrary
public final TypeLibInfo.Version version
public final int lcid
public TypeLibInfo(String libName, File typeLibrary, TypeLibInfo.Version version, int lcid)
public static TypeLibInfo locate(GUID libid, String version) throws BindingException
libid
- String of the form "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"version
- Optional version number. If null, the function searches for the latest version.ComException
- If it fails to find the type library.BindingException
Copyright © 2014. All rights reserved.