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(
	out ITypeLib ppTLB,
	out 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: