Compartilhar via


EnumerableHierarchiesCollection Class

Provides a base class that supports a simple iteration over a hierarchy collection.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.EnumerableComCollection<IEnumHierarchies, IVsHierarchy>
    Microsoft.VisualStudio.Shell.EnumerableHierarchiesCollection

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

Syntax

'Declaração
Public NotInheritable Class EnumerableHierarchiesCollection _
    Inherits EnumerableComCollection(Of IEnumHierarchies, IVsHierarchy)
public sealed class EnumerableHierarchiesCollection : EnumerableComCollection<IEnumHierarchies, IVsHierarchy>

The EnumerableHierarchiesCollection type exposes the following members.

Constructors

  Name Description
Public method EnumerableHierarchiesCollection Initializes a new instance of the EnumerableHierarchiesCollection class.

Top

Methods

  Name Description
Public method Clone Clones the item with the specified enumerator. (Overrides EnumerableComCollection<TComEnumerator, TEnumerated>.Clone(TComEnumerator, TComEnumerator%).)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEnumerator Gets the enumerator. (Inherited from EnumerableComCollection<TComEnumerator, TEnumerated>.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method NextItems Gets the specified number of items. (Overrides EnumerableComCollection<TComEnumerator, TEnumerated>.NextItems(TComEnumerator, UInt32, array<TEnumerated[], UInt32%).)
Public method Reset Resets the counter of the collection. (Overrides EnumerableComCollection<TComEnumerator, TEnumerated>.Reset(TComEnumerator).)
Public method Skip Skips the specified number of items. (Overrides EnumerableComCollection<TComEnumerator, TEnumerated>.Skip(TComEnumerator, UInt32).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Gets the enumerator. (Inherited from EnumerableComCollection<TComEnumerator, TEnumerated>.)

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Shell Namespace