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で列挙された文字列の実際の数への参照。

返品

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

注釈

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

適用対象