ITypeLib Interface
Provides the managed definition of the ITypeLib interface.
Namespace: System.Runtime.InteropServices.ComTypes
Assembly: mscorlib (in mscorlib.dll)
The ITypeLib type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | FindName | Finds occurrences of a type description in a type library. |
![]() ![]() ![]() | GetDocumentation | 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. |
![]() ![]() ![]() | GetLibAttr | Retrieves the structure that contains the library's attributes. |
![]() ![]() ![]() | GetTypeComp | Enables a client compiler to bind to a library's types, variables, constants, and global functions. |
![]() ![]() ![]() | GetTypeInfo | Retrieves the specified type description in the library. |
![]() ![]() ![]() | GetTypeInfoCount | Returns the number of type descriptions in the type library. |
![]() ![]() ![]() | GetTypeInfoOfGuid | Retrieves the type description that corresponds to the specified GUID. |
![]() ![]() ![]() | GetTypeInfoType | Retrieves the type of a type description. |
![]() ![]() ![]() | IsName | Indicates whether a passed-in string contains the name of a type or member described in the library. |
![]() ![]() ![]() | ReleaseTLibAttr | Releases the TYPELIBATTR structure originally obtained from the GetLibAttr method. |
For additional information about the ITypeLib 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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.


