_Attribute.GetTypeInfoCount Method
.NET Framework Class Library
Attribute..::._Attribute..::.GetTypeInfoCount Method

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

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)
Visual Basic (Declaration)
Private Sub GetTypeInfoCount ( _
    <OutAttribute> ByRef pcTInfo As UInteger _
) Implements _Attribute.GetTypeInfoCount
Visual Basic (Usage)
Dim instance As Attribute
Dim pcTInfo As UInteger

CType(instance, _Attribute).GetTypeInfoCount(pcTInfo)
C#
void _Attribute.GetTypeInfoCount(
    out uint pcTInfo
)
Visual C++
private:
virtual void GetTypeInfoCount(
    [OutAttribute] unsigned int% pcTInfo
) sealed = _Attribute::GetTypeInfoCount
JScript
JScript does not support explicit interface implementations.

Parameters

pcTInfo
Type: System..::.UInt32%
Points to a location that receives the number of type information interfaces provided by the object.

Implements

_Attribute..::.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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker