UCOMIEnumString.Next(Int32, String[], Int32) メソッド

定義

列挙体シーケンス内の指定した数の項目を取得します。

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

パラメーター

celt
Int32

rgelt に返す文字列の数。

rgelt
String[]

正常に返された場合は、列挙された文字列への参照。

pceltFetched
Int32

正常に返された場合は、rgelt に列挙された文字列の実数への参照。

戻り値

pceltFetched パラメーターが celt パラメーターに等しい場合は S_OK。それ以外の場合は S_FALSE

注釈

の詳細については IEnumString::Next、MSDN ライブラリを参照してください。

適用対象