Condividi tramite


Struttura CubeCollection.Enumerator

Implements the System.Collections..::..IEnumerator interface to support iterating over an CubeCollection and reading its individual CubeDef objects.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public Structure Enumerator _
    Implements IEnumerator
'Utilizzo
Dim instance As CubeCollection.Enumerator
public struct Enumerator : IEnumerator
public value class Enumerator : IEnumerator
[<SealedAttribute>]
type Enumerator =  
    struct
        interface IEnumerator
    end
JScript supporta l'utilizzo di strutture, ma non la dichiarazione di nuove strutture.

Nel tipo CubeCollection..::..Enumerator sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Current Gets the current CubeDef in the CubeCollection.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da ValueType.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da ValueType.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico MoveNext Moves to the next CubeDef in the CubeCollection.
Metodo pubblico Reset Sets the Enumerator to its initial position, which is before the first element in the collection.
Metodo pubblico ToString Ereditato da ValueType.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaProprietà privata IEnumerator. . :: . .Current

In alto

Osservazioni

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

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.