Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITypeInfo::GetContainingTypeLib Method (ITypeLib^%, Int32%)

 

Retrieves the type library that contains this type description and its index within that type library.

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

void GetContainingTypeLib(
	[OutAttribute] ITypeLib^% ppTLB,
	[OutAttribute] int% pIndex
)

Parameters

ppTLB
Type: System.Runtime.InteropServices.ComTypes::ITypeLib^%

When this method returns, contains a reference to the containing type library. This parameter is passed uninitialized.

pIndex
Type: System::Int32%

When this method returns, contains a reference to the index of the type description within the containing type library. This parameter is passed uninitialized.

For additional information about ITypeInfo::GetContainingTypeLib, see the MSDN Library.

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:
© 2017 Microsoft