MemberCollection.Enumerator Class

Supports iterating over a MemberCollection and reading its individual Member objects.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.MemberCollection.Enumerator

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

Syntax

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

The MemberCollection.Enumerator type exposes the following members.

Properties

  Name Description
Public property Current Gets the current Member in the MemberCollection.

Top

Methods

  Name Description
Public method {dtor} Releases all resources used by the MemberCollection.Enumerator.
Public method Dispose Releases all resources used by the MemberCollection.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 Member in the MemberCollection.
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.