Attribute_AttributeGetTypeInfoCount Method

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

void _Attribute.GetTypeInfoCount(
	out uint pcTInfo
virtual void GetTypeInfoCount(
	[OutAttribute] unsigned int% pcTInfo
) sealed = _Attribute::GetTypeInfoCount
private abstract GetTypeInfoCount : 
        pcTInfo:uint32 byref -> unit
private override GetTypeInfoCount : 
        pcTInfo:uint32 byref -> unit
Private Sub GetTypeInfoCount (
	<OutAttribute> ByRef pcTInfo As UInteger
	Implements _Attribute.GetTypeInfoCount



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

Exception Condition

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.

.NET Framework
Available since 1.1
Return to top