Share via


HierarchyCollection.Enumerator Class

Supports iterating over a HierarchyCollection and reading its individual Hierarchy.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.HierarchyCollection.Enumerator

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public NotInheritable Class Enumerator _
    Implements IEnumerator
'Usage
Dim instance As HierarchyCollection.Enumerator
public sealed class Enumerator : IEnumerator
public ref class Enumerator sealed : IEnumerator
[<SealedAttribute>]
type Enumerator =  
    class
        interface IEnumerator
    end
public final class Enumerator implements IEnumerator

The HierarchyCollection.Enumerator type exposes the following members.

Properties

  Name Description
Public property Current Gets the current Hierarchy in the HierarchyCollection.

Top

Methods

  Name Description
Public method {dtor} Releases all resources used by the HierarchyCollection.Enumerator.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveNext Moves to the next Hierarchy in the HierarchyCollection.
Public method Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Public method ToString (Inherited from Object.)

Top

Remarks

In JScript, you can use the structures in the Microsoft .NET Framework, but you cannot define your own.

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.