ITypeInfo.GetContainingTypeLib(ITypeLib, Int32) 方法
定义
检索类型库,该类型库包含此类型说明和它在该类型库中的索引。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)
参数
- 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.
注解
有关详细信息,请参阅 ITypeInfo:: GetContainingTypeLib 方法。For more information, see ITypeInfo::GetContainingTypeLib method.