Bewerken

Share via


Type._Type.GetTypeInfoCount(UInt32) Method

Definition

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

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