IEnumComponents.Next(UInt32, VSCOMPONENTSELECTORDATA[], UInt32) Method

Definition

Retrieves a specified number of items in an enumeration sequence.

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

Parameters

celt
UInt32

[in] Number of component elements being requested.

rgelt
VSCOMPONENTSELECTORDATA[]

[out] Array of size celt or larger for the return of components in the enumeration sequence.

pceltFetched
UInt32

[out] Pointer to the number of elements supplied in rgelt. The 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 compsvcspkg.idl:

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

Applies to