_TypeBuilder.GetTypeInfoCount(UInt32) 方法
定义
检索对象提供的类型信息接口的数量(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 : uint32 -> unit
Public Sub GetTypeInfoCount (ByRef pcTInfo As UInteger)
参数
- pcTInfo
- UInt32
如果如上述语法所示,这确实是一个 out 参数,则此处的信息应该为:此方法返回时,包含指向一个位置的指针,该位置接收对象提供的类型信息接口的数量。If this is really an out parameter as the syntax above indicates, the wording here should be "When this method returns, contains a pointer to a location that receives the number of type information interfaces provided by the object. 此参数未经初始化即被传递。This parameter is passed uninitialized.
注解
此方法用于从非托管代码访问托管类,不应从托管代码调用。This method is for access to managed classes from unmanaged code and should not be called from managed code. 有关详细信息,请参阅 IDispatch:: GetTypeInfoCount。For more information, see IDispatch::GetTypeInfoCount.