Compartilhar via


Estrutura LevelCollection.Enumerator

Supports iterating over a LevelCollection and reading its individual Level objects.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public Structure Enumerator _
    Implements IEnumerator
'Uso
Dim instance As LevelCollection.Enumerator
public struct Enumerator : IEnumerator
public value class Enumerator : IEnumerator
[<SealedAttribute>]
type Enumerator =  
    struct 
        interface IEnumerator 
    end
JScript dá suporte ao uso de estruturas, mas não à declaração de estruturas novas.

O tipo LevelCollection.Enumerator expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Current Gets the current Level in the LevelCollection.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de ValueType.)
Método público GetHashCode (Herdado de ValueType.)
Método público GetType (Herdado de Object.)
Método público MoveNext Moves to the next Level in the LevelCollection.
Método público Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Método público ToString (Herdado de ValueType.)

Início

Implementações de interfaces explícitas

  Nome Descrição
Implementações de interfaces explícitasPropriedade privada IEnumerator.Current Gets the current element in the collection.

Início

Comentários

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

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.AnalysisServices.AdomdClient