共用方式為


VsEnumerable<TComEnumerator,TComEnumerated,TEnumerated> Constructors

Definition

Overloads

VsEnumerable<TComEnumerator,TComEnumerated,TEnumerated>(IEnumerable<TEnumerated>)

Constructs an Enumerator instance.

VsEnumerable<TComEnumerator,TComEnumerated,TEnumerated>(IEnumerable<TEnumerated>, Int32)

Initializes a new instance of the VsEnumerable<TComEnumerator,TComEnumerated,TEnumerated> class.

VsEnumerable<TComEnumerator,TComEnumerated,TEnumerated>(IEnumerable<TEnumerated>)

Constructs an Enumerator instance.

public:
 VsEnumerable(System::Collections::Generic::IEnumerable<TEnumerated> ^ collection);
public VsEnumerable (System.Collections.Generic.IEnumerable<TEnumerated> collection);
new Microsoft.VisualStudio.Shell.VsEnumerable<'ComEnumerator, 'ComEnumerated, 'Enumerated> : seq<'Enumerated> -> Microsoft.VisualStudio.Shell.VsEnumerable<'ComEnumerator, 'ComEnumerated, 'Enumerated>
Public Sub New (collection As IEnumerable(Of TEnumerated))

Parameters

collection
IEnumerable<TEnumerated>

The collection to be enumerated.

Applies to

VsEnumerable<TComEnumerator,TComEnumerated,TEnumerated>(IEnumerable<TEnumerated>, Int32)

Initializes a new instance of the VsEnumerable<TComEnumerator,TComEnumerated,TEnumerated> class.

protected:
 VsEnumerable(System::Collections::Generic::IEnumerable<TEnumerated> ^ collection, int enumeratorPosition);
protected VsEnumerable (System.Collections.Generic.IEnumerable<TEnumerated> collection, int enumeratorPosition);
new Microsoft.VisualStudio.Shell.VsEnumerable<'ComEnumerator, 'ComEnumerated, 'Enumerated> : seq<'Enumerated> * int -> Microsoft.VisualStudio.Shell.VsEnumerable<'ComEnumerator, 'ComEnumerated, 'Enumerated>
Protected Sub New (collection As IEnumerable(Of TEnumerated), enumeratorPosition As Integer)

Parameters

collection
IEnumerable<TEnumerated>

The collection to be enumerated.

enumeratorPosition
Int32

The position of the created enumerator in the collection.

Applies to