Freigeben über


IVsEnumNavInfoNodes.Next Method

Retrieves a specified number of node items in the enumeration sequence.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgelt As IVsNavInfoNode(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
'Usage
Dim instance As IVsEnumNavInfoNodes
Dim celt As UInteger
Dim rgelt As IVsNavInfoNode()
Dim pceltFetched As UInteger
Dim returnValue As Integer

returnValue = instance.Next(celt, rgelt, _
    pceltFetched)
int Next(
    uint celt,
    IVsNavInfoNode[] rgelt,
    out uint pceltFetched
)
int Next(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<IVsNavInfoNode^>^ rgelt, 
    [OutAttribute] unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 * 
        rgelt:IVsNavInfoNode[] byref * 
        pceltFetched:uint32 byref -> int 
function Next(
    celt : uint, 
    rgelt : IVsNavInfoNode[], 
    pceltFetched : uint
) : int

Parameters

  • celt
    Type: System.UInt32
    [in] The number of elements being requested.
  • pceltFetched
    Type: System.UInt32%
    [out, optional] The number of elements supplied in rgelt. Caller can pass in 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 vsshell80.idl:

HRESULT IVsEnumNavInfoNodes::Next(
   [in] ULONG celt, 
   [out, size_is(celt), length_is(*pceltFetched)] IVsNavInfoNode **rgelt, 
   [out] ULONG *pceltFetched
);

.NET Framework Security

See Also

Reference

IVsEnumNavInfoNodes Interface

IVsEnumNavInfoNodes Members

Microsoft.VisualStudio.Shell.Interop Namespace