ITypeLib2 Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides a managed definition of the ITypeLib2 interface.

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

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

NameDescription
System_CAPS_pubmethodFindName(String, Int32, ITypeInfo[], Int32[], Int16)

Finds occurrences of a type description in a type library.

System_CAPS_pubmethodGetAllCustData(IntPtr)

Gets all custom data items for the library.

System_CAPS_pubmethodGetCustData(Guid, Object)

Gets the custom data.

System_CAPS_pubmethodGetDocumentation(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.

System_CAPS_pubmethodGetDocumentation2(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.

System_CAPS_pubmethodGetLibAttr(IntPtr)

Retrieves the structure that contains the library's attributes.

System_CAPS_pubmethodGetLibStatistics(IntPtr, Int32)

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

System_CAPS_pubmethodGetTypeComp(ITypeComp)

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

System_CAPS_pubmethodGetTypeInfo(Int32, ITypeInfo)

Retrieves the specified type description in the library.

System_CAPS_pubmethodGetTypeInfoCount()

Returns the number of type descriptions in the type library.

System_CAPS_pubmethodGetTypeInfoOfGuid(Guid, ITypeInfo)

Retrieves the type description that corresponds to the specified GUID.

System_CAPS_pubmethodGetTypeInfoType(Int32, TYPEKIND)

Retrieves the type of a type description.

System_CAPS_pubmethodIsName(String, Int32)

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

System_CAPS_pubmethodReleaseTLibAttr(IntPtr)

Releases the TYPELIBATTR structure originally obtained from the GetLibAttr method.

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: