CustomAttributeBuilder._CustomAttributeBuilder.GetTypeInfoCount 方法

定义

检索对象提供的类型信息接口的数量(0 或 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

参数

pcTInfo
UInt32

指向接收对象提供的类型信息接口数的位置。

实现

例外

该方法使用 COM IDispatch 接口调用后期绑定。

注解

此方法用于从非托管代码访问托管类,不应从托管代码调用。 有关详细信息,请参阅 IDispatch::GetTypeInfoCount

适用于