Share via


VsEnumerableEx<TComEnumerator, TComEnumerated> Constructor (IEnumerable<TComEnumerated>, Int32)

Initializes a new instance of the VsEnumerableEx<TComEnumerator, TComEnumerated> 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 TComEnumerated), _
    enumeratorPosition As Integer _
)
protected VsEnumerableEx(
    IEnumerable<TComEnumerated> collection,
    int enumeratorPosition
)
protected:
VsEnumerableEx(
    IEnumerable<TComEnumerated>^ collection, 
    int enumeratorPosition
)
new : 
        collection:IEnumerable<'TComEnumerated> * 
        enumeratorPosition:int -> VsEnumerableEx
protected function VsEnumerableEx(
    collection : IEnumerable<TComEnumerated>, 
    enumeratorPosition : int
)

Parameters

  • collection
    Type: IEnumerable<TComEnumerated>

    The collection to be enumerated.

  • enumeratorPosition
    Type: Int32

    The position of the created enumerator in the collection.

.NET Framework Security

See Also

Reference

VsEnumerableEx<TComEnumerator, TComEnumerated> Class

VsEnumerableEx<TComEnumerator, TComEnumerated> Overload

Microsoft.VisualStudio.Shell Namespace