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的实际字符串数的引用。

返回

如果参数等于参数,则为 。

注解

有关详细信息 IEnumString::Next,请参阅 MSDN 库。

适用于