Rediger

Del via


ITypeInfo.GetContainingTypeLib(ITypeLib, Int32) Method

Definition

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

public:
 void GetContainingTypeLib([Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::ITypeLib ^ % ppTLB, [Runtime::InteropServices::Out] int % pIndex);
public void GetContainingTypeLib (out System.Runtime.InteropServices.ComTypes.ITypeLib ppTLB, out int pIndex);
abstract member GetContainingTypeLib : ITypeLib * int -> unit
Public Sub GetContainingTypeLib (ByRef ppTLB As ITypeLib, ByRef pIndex As Integer)

Parameters

ppTLB
ITypeLib

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

pIndex
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.

Remarks

For more information, see ITypeInfo::GetContainingTypeLib method.

Applies to