Compartir a través de


IVsEnumBSTR.GetCount Method

Returns the total count of BSTRs in the enumeration sequence.

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

Syntax

'Declaración
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

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 IVsEnumBSTR::GetCount(
   [out] ULONG *pceltCount
);

.NET Framework Security

See Also

Reference

IVsEnumBSTR Interface

Microsoft.VisualStudio.TextManager.Interop Namespace