ITypeInfo.GetContainingTypeLib Method

Note: This method is new in the .NET Framework version 2.0.

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
)
void GetContainingTypeLib (
	/** @attribute OutAttribute() */ /** @ref */ ITypeLib ppTLB, 
	/** @attribute OutAttribute() */ /** @ref */ int pIndex
)
JScript does not support passing value-type arguments by reference.

Parameters

ppTLB

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

pIndex

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: