ITypeLib2 ITypeLib2 ITypeLib2 ITypeLib2 Interface

Definition

Provides a managed definition of the ITypeLib2 interface.

public interface class ITypeLib2 : System::Runtime::InteropServices::ComTypes::ITypeLib
[System.Runtime.InteropServices.Guid("00020411-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITypeLib2 : System.Runtime.InteropServices.ComTypes.ITypeLib
type ITypeLib2 = interface
    interface ITypeLib
Public Interface ITypeLib2
Implements ITypeLib
Attributes
Implements

Remarks

For additional information about the ITypeLib2 interface, see the MSDN Library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Methods

FindName(String, Int32, ITypeInfo[], Int32[], Int16) FindName(String, Int32, ITypeInfo[], Int32[], Int16) FindName(String, Int32, ITypeInfo[], Int32[], Int16) FindName(String, Int32, ITypeInfo[], Int32[], Int16)

Finds occurrences of a type description in a type library.

GetAllCustData(IntPtr) GetAllCustData(IntPtr) GetAllCustData(IntPtr) GetAllCustData(IntPtr)

Gets all custom data items for the library.

GetCustData(Guid, Object) GetCustData(Guid, Object) GetCustData(Guid, Object) GetCustData(Guid, Object)

Gets the custom data.

GetDocumentation(Int32, String, String, Int32, String) GetDocumentation(Int32, String, String, Int32, String) GetDocumentation(Int32, String, String, Int32, String) GetDocumentation(Int32, String, String, Int32, String)

Retrieves the library's documentation string, the complete Help file name and path, and the context identifier for the library Help topic in the Help file.

GetDocumentation2(Int32, String, Int32, String) GetDocumentation2(Int32, String, Int32, String) GetDocumentation2(Int32, String, Int32, String) GetDocumentation2(Int32, String, Int32, String)

Retrieves the library's documentation string, the complete Help file name and path, the localization context to use, and the context ID for the library Help topic in the Help file.

GetLibAttr(IntPtr) GetLibAttr(IntPtr) GetLibAttr(IntPtr) GetLibAttr(IntPtr)

Retrieves the structure that contains the library's attributes.

GetLibStatistics(IntPtr, Int32) GetLibStatistics(IntPtr, Int32) GetLibStatistics(IntPtr, Int32) GetLibStatistics(IntPtr, Int32)

Returns statistics about a type library that are required for efficient sizing of hash tables.

GetTypeComp(ITypeComp) GetTypeComp(ITypeComp) GetTypeComp(ITypeComp) GetTypeComp(ITypeComp)

Enables a client compiler to bind to a library's types, variables, constants, and global functions.

GetTypeInfo(Int32, ITypeInfo) GetTypeInfo(Int32, ITypeInfo) GetTypeInfo(Int32, ITypeInfo) GetTypeInfo(Int32, ITypeInfo)

Retrieves the specified type description in the library.

GetTypeInfoCount() GetTypeInfoCount() GetTypeInfoCount() GetTypeInfoCount()

Returns the number of type descriptions in the type library.

GetTypeInfoOfGuid(Guid, ITypeInfo) GetTypeInfoOfGuid(Guid, ITypeInfo) GetTypeInfoOfGuid(Guid, ITypeInfo) GetTypeInfoOfGuid(Guid, ITypeInfo)

Retrieves the type description that corresponds to the specified GUID.

GetTypeInfoType(Int32, TYPEKIND) GetTypeInfoType(Int32, TYPEKIND) GetTypeInfoType(Int32, TYPEKIND) GetTypeInfoType(Int32, TYPEKIND)

Retrieves the type of a type description.

IsName(String, Int32) IsName(String, Int32) IsName(String, Int32) IsName(String, Int32)

Indicates whether a passed-in string contains the name of a type or member described in the library.

ReleaseTLibAttr(IntPtr) ReleaseTLibAttr(IntPtr) ReleaseTLibAttr(IntPtr) ReleaseTLibAttr(IntPtr)

Releases the TYPELIBATTR structure originally obtained from the GetLibAttr(IntPtr) method.

Applies to