Partager via


IVsEnumGUID.GetCount Method

Returns the total count of GUIDs in the enumeration sequence.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function GetCount ( _
    <OutAttribute> ByRef pceltCount As UInteger _
) As Integer
int GetCount(
    out uint pceltCount
)
int GetCount(
    [OutAttribute] unsigned int% pceltCount
)
abstract GetCount : 
        pceltCount:uint32 byref -> int
function GetCount(
    pceltCount : uint
) : int

Parameters

  • pceltCount
    Type: System.UInt32%

    [out] Number of GUIDs in the enumeration sequence.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

[C++]

HRESULT IVsEnumGUID::GetCount(
   [out] ULONG *pceltCount
);

.NET Framework Security

See Also

Reference

IVsEnumGUID Interface

Microsoft.VisualStudio.TextManager.Interop Namespace