Share via


MeasureCollection.Enumerator Class

Supports iterating over a MeasureCollection and reading its individual Measure objects.

Inheritance Hierarchy

Object
  Microsoft.AnalysisServices.AdomdServer.MeasureCollection.Enumerator

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

Syntax

'Declaration
Public NotInheritable Class Enumerator _
    Implements IEnumerator
'Usage
Dim instance As MeasureCollection.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 MeasureCollection.Enumerator type exposes the following members.

Properties

  Name Description
Public property Current Gets the current Measure in the MeasureCollection.

Top

Methods

  Name Description
Public method {dtor} Releases all resources used by the MeasureCollection.Enumerator.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method MoveNext Moves to the next Measure in the MeasureCollection.
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 Microsoft 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.

See Also

Reference

Microsoft.AnalysisServices.AdomdServer Namespace