Partilhar via


IVsEnumLibraries2.Next(UInt32, IVsLibrary2[], UInt32) Method

Definition

Retrieves a specified number of libraries in the enumeration sequence.

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

Parameters

celt
UInt32

[in] The number of elements being requested.

rgelt
IVsLibrary2[]

[out] An array of type IVsLibrary2 that contains requested libraries.

pceltFetched
UInt32

[out, optional] The number of elements supplied in rgelt. Caller can pass in null if celt is one.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

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

Applies to