Редагувати

Поділитися через


MethodInfo._MethodInfo.GetTypeInfoCount(UInt32) Method

Definition

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

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