Export (0) Print
Expand All

Type._Type.GetTypeInfoCount Method

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

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Private Sub GetTypeInfoCount ( _
	<OutAttribute> ByRef pcTInfo As UInteger _
) Implements _Type.GetTypeInfoCount
'Usage
Dim instance As Type 
Dim pcTInfo As UInteger 

CType(instance, _Type).GetTypeInfoCount(pcTInfo)

Parameters

pcTInfo
Type: System.UInt32%

Points to a location that receives the number of type information interfaces provided by the object.

Implements

_Type.GetTypeInfoCount(UInt32)

ExceptionCondition
NotImplementedException

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

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

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft