Partager via


IVsEnumDebugName.Next Method

Retrieves debug names from the enumeration sequence.

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

Syntax

'Declaration
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgelt As IVsDebugName(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
int Next(
    uint celt,
    IVsDebugName[] rgelt,
    out uint pceltFetched
)
int Next(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<IVsDebugName^>^ rgelt, 
    [OutAttribute] unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 * 
        rgelt:IVsDebugName[] byref * 
        pceltFetched:uint32 byref -> int
function Next(
    celt : uint, 
    rgelt : IVsDebugName[], 
    pceltFetched : uint
) : int

Parameters

  • celt
    Type: System.UInt32

    [in] The requested number of DebugNames to retrieve.

  • pceltFetched
    Type: System.UInt32%

    [out] Pointer to the actual number of hidden regions supplied in pceltFetched. The caller of this method can set this to nulla null reference (Nothing in Visual Basic) if celt is one.

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::Next(
   [in] ULONG celt,
   [out, size_is(celt), length_is(*pceltFetched)] IVsDebugName **rgelt,
   [out] ULONG *pceltFetched
);

.NET Framework Security

See Also

Reference

IVsEnumDebugName Interface

Microsoft.VisualStudio.TextManager.Interop Namespace