Delen via


EnumerableHierarchiesCollection Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public NotInheritable Class EnumerableHierarchiesCollection _
    Inherits EnumerableComCollection(Of IEnumHierarchies, IVsHierarchy)
public sealed class EnumerableHierarchiesCollection : EnumerableComCollection<IEnumHierarchies, IVsHierarchy>
public ref class EnumerableHierarchiesCollection sealed : public EnumerableComCollection<IEnumHierarchies^, IVsHierarchy^>
[<Sealed>]
type EnumerableHierarchiesCollection =  
    class 
        inherit EnumerableComCollection<IEnumHierarchies, IVsHierarchy>
    end
public final class EnumerableHierarchiesCollection extends 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 the default hash function. (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