ITypeLib.GetTypeInfo(Int32, ITypeInfo) 方法
定义
在库中检索指定的类型说明。Retrieves the specified type description in the library.
public:
void GetTypeInfo(int index, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::ITypeInfo ^ % ppTI);
public void GetTypeInfo (int index, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTI);
abstract member GetTypeInfo : int * ITypeInfo -> unit
Public Sub GetTypeInfo (index As Integer, ByRef ppTI As ITypeInfo)
参数
- index
- Int32
要返回的 ITypeInfo 接口的索引。The index of the ITypeInfo interface to return.
- ppTI
- ITypeInfo
此方法返回时,包含一个 ITypeInfo,它描述 index 引用的类型。When this method returns, contains an ITypeInfo describing the type referenced by index. 此参数未经初始化即被传递。This parameter is passed uninitialized.
注解
有关详细信息,请参阅 ITypeLib:: GetTypeInfo 方法。For more information, see ITypeLib::GetTypeInfo method.