Redigera

Dela via


MethodBase._MethodBase.GetTypeInfoCount(UInt32) Method

Definition

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

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

Parameters

pcTInfo
UInt32

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