ערוך

שתף באמצעות


IEnumFORMATETC.Next(Int32, FORMATETC[], Int32[]) Method

Definition

Retrieves a specified number of items in the enumeration sequence.

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

Parameters

celt
Int32

The number of FORMATETC references to return in rgelt.

rgelt
FORMATETC[]

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

pceltFetched
Int32[]

When this method 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 IEnumFORMATETC::Next method.

Applies to