IEnumString.RemoteNext(UInt32, String, UInt32) 方法

定义

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

public:
 void RemoteNext(System::UInt32 celt, [Runtime::InteropServices::Out] System::String ^ % rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
public void RemoteNext (uint celt, out string rgelt, out uint pceltFetched);
abstract member RemoteNext : uint32 *  *  -> unit
Public Sub RemoteNext (celt As UInteger, ByRef rgelt As String, ByRef pceltFetched As UInteger)

参数

celt
UInt32

请求的字符串值数。

rgelt
String

字符串值的大小 celt (或更大) 的数组。

pceltFetched
UInt32

指向 中实际提供的元素数的 rgelt指针。 如果 celt 为 ,则调用方可以传入 NULL

注解

如果提供的元素数为 celt,则返回S_OK ;否则S_FALSE。

适用于