ITypeLib Interface

Provides the managed definition of the ITypeLib interface.

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

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

The ITypeLib type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsFindNameFinds occurrences of a type description in a type library.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetDocumentationRetrieves 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 LibrarySupported in .NET for Windows Store appsGetLibAttrRetrieves the structure that contains the library's attributes.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetTypeCompEnables a client compiler to bind to a library's types, variables, constants, and global functions.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetTypeInfoRetrieves the specified type description in the library.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetTypeInfoCountReturns the number of type descriptions in the type library.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetTypeInfoOfGuidRetrieves the type description that corresponds to the specified GUID.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsGetTypeInfoTypeRetrieves the type of a type description.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsIsNameIndicates whether a passed-in string contains the name of a type or member described in the library.
Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store appsReleaseTLibAttrReleases 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

.NET for Windows Store apps

Supported in: Windows 8

Supported in: Windows Phone 8.1

Windows Phone 8.1, Windows 8.1, Windows Server 2012 R2, 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.

Show:
© 2014 Microsoft