VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>.Next Method (UInt32, array<TComEnumerated[], 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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Function Next ( _
celt As UInteger, _
rgelt As TComEnumerated(), _
<OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
public int Next(
uint celt,
TComEnumerated[] rgelt,
out uint pceltFetched
)
Parameters
- celt
Type: System.UInt32
Number 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: System.UInt32%
Indicates the number of elements that were actually fetched. This number can be less than the number requested in celt.
Return Value
Type: System.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