IVsEnumGUID.Next(UInt32, Guid[], UInt32) 方法

定义

检索枚举序列中的 Guid。

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

参数

celt
UInt32

中要检索的请求的 Guid 数目。

rgelt
Guid[]

[out,size_is (celt) ]已检索的 Guid 的列表。

pceltFetched
UInt32

弄一个指针,指向中提供的隐藏区域的实际数量 pceltFetched 。 如果为1,则此方法的调用方可以将此值设置为 null celt

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 textmgr:

[C++]

HRESULT IVsEnumGUID::Next(  
   [in] ULONG celt,  
   [out, size_is(celt), length_is(*pceltFetched)] GUID *rgelt,  
   [out] ULONG *pceltFetched  
);  

调用方必须为 Guid 分配内存。

适用于