ITypeLib Interface

Provides the managed definition of the ITypeLib interface.

Namespace:  System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

[GuidAttribute("00020402-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface ITypeLib

The ITypeLib type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibraryFindNameFinds occurrences of a type description in a type library.
Public methodSupported by Portable Class LibraryGetDocumentationRetrieves 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.
Public methodSupported by Portable Class LibraryGetLibAttrRetrieves the structure that contains the library's attributes.
Public methodSupported by Portable Class LibraryGetTypeCompEnables a client compiler to bind to a library's types, variables, constants, and global functions.
Public methodSupported by Portable Class LibraryGetTypeInfoRetrieves the specified type description in the library.
Public methodSupported by Portable Class LibraryGetTypeInfoCountReturns the number of type descriptions in the type library.
Public methodSupported by Portable Class LibraryGetTypeInfoOfGuidRetrieves the type description that corresponds to the specified GUID.
Public methodSupported by Portable Class LibraryGetTypeInfoTypeRetrieves the type of a type description.
Public methodSupported by Portable Class LibraryIsNameIndicates whether a passed-in string contains the name of a type or member described in the library.
Public methodSupported by Portable Class LibraryReleaseTLibAttrReleases the TYPELIBATTR structure originally obtained from the GetLibAttr method.
Top

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft