Attribute._Attribute.GetTypeInfoCount(UInt32) 方法
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索对象提供的类型信息接口的数量(0 或 1)。
virtual void System.Runtime.InteropServices._Attribute.GetTypeInfoCount([Runtime::InteropServices::Out] System::UInt32 % pcTInfo) = System::Runtime::InteropServices::_Attribute::GetTypeInfoCount;
C#
void _Attribute.GetTypeInfoCount(out uint pcTInfo);
abstract member System.Runtime.InteropServices._Attribute.GetTypeInfoCount : uint32 -> unit
override this.System.Runtime.InteropServices._Attribute.GetTypeInfoCount : uint32 -> unit
Sub GetTypeInfoCount (ByRef pcTInfo As UInteger) Implements _Attribute.GetTypeInfoCount
- pcTInfo
- UInt32
此方法返回时, 指向接收对象提供的类型信息接口数的位置。
不支持使用 COM IDispatch
接口进行后期绑定访问。
此方法用于从非托管代码访问托管类,不应从托管代码调用。 有关详细信息,请参阅 IDispatch::GetTypeInfoCount。
产品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |