_Attribute.GetTypeInfoCount Method

Attribute._Attribute.GetTypeInfoCount Method (UInt32)


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


Type: System.UInt32

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
© 2015 Microsoft