Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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