System.Runtime.InteropServices.ComTypes.IEnumSTATDATA.Next Method

Retrieves a specified number of items in the enumeration sequence.

Syntax

public int Next (int celt, STATDATA[] rgelt, int[] pceltFetched)

Parameters

celt
The number of System.Runtime.InteropServices.ComTypes.STATDATA references to return in rgelt.
rgelt
When this method returns, contains a reference to the enumerated System.Runtime.InteropServices.ComTypes.STATDATA references. This parameter is passed uninitialized.
pceltFetched
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 about IEnumSTATDATA::Next, see the MSDN Library.

Requirements

Namespace: System.Runtime.InteropServices.ComTypes
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0