_ConstructorInfo.GetTypeInfoCount(UInt32) _ConstructorInfo.GetTypeInfoCount(UInt32) _ConstructorInfo.GetTypeInfoCount(UInt32) _ConstructorInfo.GetTypeInfoCount(UInt32) Method

定义

检索对象提供的类型信息接口的数量(0 或 1)。Retrieves the number of type information interfaces that an object provides (either 0 or 1).

public:
 void GetTypeInfoCount([Runtime::InteropServices::Out] System::UInt32 % pcTInfo);
public void GetTypeInfoCount (out uint pcTInfo);
abstract member GetTypeInfoCount :  -> unit
Public Sub GetTypeInfoCount (ByRef pcTInfo As UInteger)

参数

pcTInfo
UInt32 UInt32 UInt32 UInt32

指向一个位置,该位置接收对象提供的类型信息接口的数量。Points to a location that receives the number of type information interfaces provided by the object.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code. 有关详细信息IDispatch::GetTypeInfoCount,请参阅 MSDN 库。For more information about IDispatch::GetTypeInfoCount, see the MSDN Library.

适用于