Structure PropertyCollection.Enumerator

Supports iterating over a PropertyCollection and reading its individual Property objects.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public Structure Enumerator _
    Implements IEnumerator
'Utilisation
Dim instance As PropertyCollection.Enumerator
public struct Enumerator : IEnumerator
public value class Enumerator : IEnumerator
[<SealedAttribute>]
type Enumerator =  
    struct
        interface IEnumerator
    end
JScript prend en charge l'utilisation de structures, mais pas la déclaration de nouvelles structures.

Le type PropertyCollection..::..Enumerator expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Current Gets the current Property in the PropertyCollection.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de ValueType.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de ValueType.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique MoveNext Moves to the next Property in the PropertyCollection.
Méthode publique Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Méthode publique ToString (hérité de ValueType.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface explicitePropriété privée IEnumerator. . :: . .Current

Haut de la page

Notes

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.