IVsEnumLibraries2.Next(UInt32, IVsLibrary2[], UInt32) 方法

定义

检索枚举序列中指定数目的库。

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

参数

celt
UInt32

中请求的元素的数目。

rgelt
IVsLibrary2[]

弄类型的数组 IVsLibrary2 ,其中包含请求的库。

pceltFetched
UInt32

[out,optional]中提供的元素的数目 rgelt 。 如果 null 为一,则调用方可传入 celt

返回

Int32

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

注解

COM 签名

从 vsshell80:

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

适用于