Share via


NamedSetCollection.Enumerator Class

Supports iterating over a NamedSetCollection and reading its individual NamedSet objects.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.NamedSetCollection.Enumerator

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

Syntax

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

Properties

  Name Description
Public property Current Gets the current NamedSet in the NamedSetCollection.

Top

Methods

  Name Description
Public method {dtor} Releases all resources used by the NamedSetCollection.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 NamedSet in the NamedSetCollection.
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.