UCOMITypeInfo.GetContainingTypeLib(UCOMITypeLib, Int32) 方法

定义

检索包含此类型说明的类型库及其在该类型库中的索引。

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

参数

ppTLB
UCOMITypeLib

成功返回时,对包含类型库的引用。

pIndex
Int32

成功返回时,对包含类型库中类型说明索引的引用。

注解

有关其他 ITypeInfo::GetContainingTypeLib信息,请参阅 MSDN 库。

适用于