Bearbeiten

Freigeben über


Attribute._Attribute.GetTypeInfoCount(UInt32) Method

Definition

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

 virtual void System.Runtime.InteropServices._Attribute.GetTypeInfoCount([Runtime::InteropServices::Out] System::UInt32 % pcTInfo) = System::Runtime::InteropServices::_Attribute::GetTypeInfoCount;
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

Parameters

pcTInfo
UInt32

When this method returns, points to a location that receives the number of type information interfaces provided by the object.

Implements

Exceptions

Late-bound access using the COM IDispatch interface is not supported.

Remarks

This method is for access to managed classes from unmanaged code, and should not be called from managed code. For more information, see IDispatch::GetTypeInfoCount.

Applies to