IVsUIEnumDataSourceVerbs.Next(UInt32, String[], UInt32) 方法

定义

返回枚举中的项数。

public:
 int Next(System::UInt32 celt, cli::array <System::String ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <std::wstring const &> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, string[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * string[] *  -> int
Public Function Next (celt As UInteger, rgelt As String(), ByRef pceltFetched As UInteger) As Integer

参数

celt
UInt32

中要返回的项数。

rgelt
String[]

弄用于接收谓词名称数组的位置。

pceltFetched
UInt32

弄返回的谓词名称的实际数量。

返回

Int32

如果返回了谓词,则返回 S_OK。

适用于