VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated> Class
Represents a Visual Studio-style enumeration of TComEnumerated objects created from an enumeration of TEnumerated.Base class for Visual Studio-style enumerators using Visual Studio 2010 and older enumerator interfaces that use PreserveSig.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Microsoft.VisualStudio.Shell.VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>
Microsoft.VisualStudio.Shell.VsEnumerable<TComEnumerator, TComEnumerated>
Type Parameters
- TComEnumerator
COM enumerator type (for example, IVsUIEnumDataSourceVerbs).
- TComEnumerated
Type enumerated by TComEnumerator (for example, String).
- TEnumerated
The type of elements in the collection wrapped by the COM enumerator type (for example, UIDataSourceVerb).
| Name | Description | |
|---|---|---|
![]() | VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>(IEnumerable<TEnumerated>) | Initializes a new instance of the VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated> class. |
![]() | VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>(IEnumerable<TEnumerated>, Int32) | Initializes a new instance of the VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated> class. |
| Name | Description | |
|---|---|---|
![]() | IsEnumerating | Gets a Boolean value that indicates whether the enumerator is currently enumerating. If true, the enumerator is enumerating. |
| Name | Description | |
|---|---|---|
![]() | Clone(TComEnumerator) | Creates a copy of the enumerator and all its descendants. The returned enumerator contains the same enumeration state as the current one. |
![]() | CreateEnumerator(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. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetElement(TEnumerated, 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. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Next(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. |
![]() | Next(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. |
![]() | Reset() | Resets the enumeration sequence back to the beginning. |
![]() | Skip(UInt32) | Moves the current position in an enumeration ahead by a specified number of elements. |
![]() | ToString() | (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.


