VsEnumerableEx<TComEnumerator, TComEnumerated> Class

 

Base class for Visual Studio COM enumerators using Visual Studio 2012 and later enumerator interfaces that do not use PreserveSig.

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


public abstract class VsEnumerableEx<TComEnumerator, TComEnumerated> : VsEnumerable<TComEnumerator, TComEnumerated>

Type Parameters

TComEnumerator

COM enumerator type (for example, IVsEnumWindowSearchOptions).

TComEnumerated

Type enumerated by TComEnumerator (for example, IVsWindowSearchOption).

NameDescription
System_CAPS_pubmethodVsEnumerableEx<TComEnumerator, TComEnumerated>(IEnumerable<TComEnumerated>)

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

System_CAPS_protmethodVsEnumerableEx<TComEnumerator, TComEnumerated>(IEnumerable<TComEnumerated>, Int32)

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

NameDescription
System_CAPS_protpropertyIsEnumerating

Gets a Boolean value that indicates whether the enumerator is currently enumerating. If true, the enumerator is enumerating.(Inherited from VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>.)

NameDescription
System_CAPS_pubmethodClone(TComEnumerator)

Creates a copy of the enumerator and all its descendants. The returned enumerator contains the same enumeration state as the current one.

System_CAPS_protmethodCreateEnumerator(IEnumerable<TEnumerated>, Int32)

Creates a new instance of derived class that is the COM-enumerator over the enumerated collection, starting from the specified enumerator position.(Inherited from VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodGetElement(TComEnumerated, TComEnumerated)

Converts an element in the enumerated input collection of type TEnumerated to a TComEnumerated element to be returned by the Visual Studio-style enumerator.(Inherited from VsEnumerable<TComEnumerator, TComEnumerated>.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodNext(UInt32, 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.(Inherited from VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>.)

System_CAPS_pubmethodNext(UInt32, 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.(Inherited from VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>.)

System_CAPS_pubmethodReset()

Resets the enumeration sequence back to the beginning.

System_CAPS_pubmethodSkip(UInt32)

Moves the current position in an enumeration ahead by a specified number of elements.(Inherited from VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: