VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>.Next Method (UInt32, array<TComEnumerated[], array<UInt32 )
Gets one or more elements starting at the current position in an enumeration. This method advances the current position in the enumeration by celt elements, so that subsequent calls return the subsequent elements.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Function Next ( _
celt As UInteger, _
rgelt As TComEnumerated(), _
pceltFetched As UInteger() _
) As Integer
public int Next(
uint celt,
TComEnumerated[] rgelt,
uint[] pceltFetched
)
public:
virtual int Next(
unsigned int celt,
array<TComEnumerated>^ rgelt,
array<unsigned int>^ pceltFetched
) sealed
abstract Next :
celt:uint32 *
rgelt:'TComEnumerated[] *
pceltFetched:uint32[] -> int
override Next :
celt:uint32 *
rgelt:'TComEnumerated[] *
pceltFetched:uint32[] -> int
public final function Next(
celt : uint,
rgelt : TComEnumerated[],
pceltFetched : uint[]
) : int
Parameters
celt
Type: UInt32Number of requested elements.
rgelt
Type: array<TComEnumerated[]Enough storage to hold the number of elements specified by celt. This storage must be supplied by the caller. This parameter cannot be null.
pceltFetched
Type: array<UInt32[]Indicates the number of elements that were actually fetched. This number can be less than the number requested in celt.
Return Value
Type: Int32
S_OK if successful, or an error otherwise.
.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.
See Also
Reference
VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated> Class