Delen via


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

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Sub New ( _
    collection As IEnumerable(Of TEnumerated), _
    enumeratorPosition As Integer _
)
protected VsEnumerable(
    IEnumerable<TEnumerated> collection,
    int enumeratorPosition
)
protected:
VsEnumerable(
    IEnumerable<TEnumerated>^ collection, 
    int enumeratorPosition
)
new : 
        collection:IEnumerable<'TEnumerated> * 
        enumeratorPosition:int -> VsEnumerable
protected function VsEnumerable(
    collection : IEnumerable<TEnumerated>, 
    enumeratorPosition : int
)

Parameters

  • collection
    Type: IEnumerable<TEnumerated>

    The collection to be enumerated.

  • enumeratorPosition
    Type: Int32

    The position of the created enumerator in the collection.

.NET Framework Security

See Also

Reference

VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated> Class

VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated> Overload

Microsoft.VisualStudio.Shell Namespace