CustomAttributeBuilder._CustomAttributeBuilder.GetTypeInfoCount(UInt32) Method

Definition

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

 virtual void System.Runtime.InteropServices._CustomAttributeBuilder.GetTypeInfoCount([Runtime::InteropServices::Out] System::UInt32 % pcTInfo) = System::Runtime::InteropServices::_CustomAttributeBuilder::GetTypeInfoCount;
void _CustomAttributeBuilder.GetTypeInfoCount (out uint pcTInfo);
abstract member System.Runtime.InteropServices._CustomAttributeBuilder.GetTypeInfoCount : uint32 -> unit
override this.System.Runtime.InteropServices._CustomAttributeBuilder.GetTypeInfoCount : uint32 -> unit
Sub GetTypeInfoCount (ByRef pcTInfo As UInteger) Implements _CustomAttributeBuilder.GetTypeInfoCount

Parameters

pcTInfo
UInt32

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

Implements

Exceptions

此方法称为使用 COM IDispatch 接口的后期绑定。The method is called late-bound using the COM IDispatch interface.

Remarks

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

Applies to