Compartilhar via


Estrutura CellCollection.Enumerator

Supports iterating over a CellCollection and reading its individual Cell 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 CellCollection.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 CellCollection..::..Enumerator expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Current Gets the current Cell in the CellCollection.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de ValueType.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de ValueType.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público MoveNext Moves to the next Cell in the CellCollection.
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

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.