IVsEnumLibraries2::Next Method (UInt32, array<IVsLibrary2^>^, UInt32)

 

Retrieves a specified number of libraries in the enumeration sequence.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int Next(
	unsigned int celt,
	array<IVsLibrary2^>^ rgelt,
	[OutAttribute] unsigned int% pceltFetched
)

Parameters

celt
Type: System::UInt32

[in] The number of elements being requested.

rgelt
Type: array<Microsoft.VisualStudio.Shell.Interop::IVsLibrary2^>^

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

pceltFetched
Type: System::UInt32

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

Return Value

Type: System::Int32

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

From vsshell80.idl:

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