UCOMIEnumString.Next(Int32, String[], Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索枚举序列中指定数目的项。
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 库。