IVsEnumLibraries2.Next Method
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)
Syntax
'Declaration
Function Next ( _
celt As UInteger, _
<OutAttribute> rgelt As IVsLibrary2(), _
<OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
int Next(
uint celt,
IVsLibrary2[] rgelt,
out uint pceltFetched
)
int Next(
[InAttribute] unsigned int celt,
[OutAttribute] array<IVsLibrary2^>^ rgelt,
[OutAttribute] unsigned int% pceltFetched
)
abstract Next :
celt:uint32 *
rgelt:IVsLibrary2[] byref *
pceltFetched:uint32 byref -> int
function Next(
celt : uint,
rgelt : IVsLibrary2[],
pceltFetched : uint
) : int
Parameters
celt
Type: 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: UInt32%[out, optional] The number of elements supplied in rgelt. Caller can pass in nulla null reference (Nothing in Visual Basic) if celt is one.
Return Value
Type: Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.