共用方式為


IVsEnumDebugName.GetCount Method

Returns the total count of debug names in the enumeration sequence.

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

Syntax

'宣告
Function GetCount ( _
    <OutAttribute> ByRef pceltCount As UInteger _
) As Integer
'用途
Dim instance As IVsEnumDebugName
Dim pceltCount As UInteger
Dim returnValue As Integer

returnValue = instance.GetCount(pceltCount)
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] Total count of debug names 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 IVsEnumDebugName::GetCount(
   [out] ULONG *pceltCount
);

.NET Framework Security

See Also

Reference

IVsEnumDebugName Interface

IVsEnumDebugName Members

Microsoft.VisualStudio.TextManager.Interop Namespace