共用方式為


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

  • 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

See Also

Reference

VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated> Class

Next Overload

Microsoft.VisualStudio.Shell Namespace