Compartilhar via


IVsEnumNavInfoNodes.Next(UInt32, IVsNavInfoNode[], UInt32) Method

Definition

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

public:
 int Next(System::UInt32 celt, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsNavInfoNode ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsNavInfoNode const &> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, Microsoft.VisualStudio.Shell.Interop.IVsNavInfoNode[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsNavInfoNode[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As IVsNavInfoNode(), ByRef pceltFetched As UInteger) As Integer

Parameters

celt
UInt32

[in] The number of elements being requested.

rgelt
IVsNavInfoNode[]

[out] An array of type IVsNavInfoNode that contains requested node items.

pceltFetched
UInt32

[out, optional] The number of elements supplied in rgelt. Caller can pass in null if celt is one.

Returns

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  
);  

Applies to