IEnumString.Next(Int32, String[], IntPtr) 方法

定义

检索枚举序列中的指定数量的项。

public:
 int Next(int celt, cli::array <System::String ^> ^ rgelt, IntPtr pceltFetched);
public int Next(int celt, string[] rgelt, IntPtr pceltFetched);
abstract member Next : int * string[] * nativeint -> int
Public Function Next (celt As Integer, rgelt As String(), pceltFetched As IntPtr) As Integer

参数

celt
Int32

要返回的 rgelt字符串数。

rgelt
String[]

此方法返回时,包含对枚举字符串的引用。 此参数未初始化传递。

pceltFetched
IntPtr

nativeint

此方法返回时,包含对枚举的实际 rgelt字符串数的引用。

返回

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

注解

有关详细信息,请参阅 IEnumString::Next 方法

适用于