Muokkaa

Jaa


UCOMIEnumString.Next(Int32, String[], Int32) Method

Definition

Retrieves a specified number of items in the enumeration sequence.

public:
 int Next(int celt, cli::array <System::String ^> ^ rgelt, [Runtime::InteropServices::Out] int % pceltFetched);
public int Next (int celt, string[] rgelt, out int pceltFetched);
abstract member Next : int * string[] * int -> int
Public Function Next (celt As Integer, rgelt As String(), ByRef pceltFetched As Integer) As Integer

Parameters

celt
Int32

The number of strings to return in rgelt.

rgelt
String[]

On successful return, a reference to the enumerated strings.

pceltFetched
Int32

On successful return, a reference to the actual number of strings enumerated in rgelt.

Returns

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

Remarks

For more information about IEnumString::Next, see the MSDN Library.

Applies to