Edit

Share via


IEnumSTATDATA.Next(Int32, STATDATA[], Int32[]) Method

Definition

Retrieves a specified number of items in the enumeration sequence.

public:
 int Next(int celt, cli::array <System::Runtime::InteropServices::ComTypes::STATDATA> ^ rgelt, cli::array <int> ^ pceltFetched);
public int Next (int celt, System.Runtime.InteropServices.ComTypes.STATDATA[] rgelt, int[] pceltFetched);
abstract member Next : int * System.Runtime.InteropServices.ComTypes.STATDATA[] * int[] -> int
Public Function Next (celt As Integer, rgelt As STATDATA(), pceltFetched As Integer()) As Integer

Parameters

celt
Int32

The number of STATDATA references to return in rgelt.

rgelt
STATDATA[]

When this method returns, contains a reference to the enumerated STATDATA references. This parameter is passed uninitialized.

pceltFetched
Int32[]

When this parameter returns, contains a reference to the actual number of references enumerated in rgelt. This parameter is passed uninitialized.

Returns

S_OK if the pceltFetched parameter equals the celt parameter; otherwise, S_FALSE.

Remarks

For more information, see IEnumSTATDATA::Next method.

Applies to