Partager via


Propriété PositionCollection.Enumerator.IEnumerator.Current

Gets the current element in the collection.

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

Syntaxe

'Déclaration
Private ReadOnly Property Current As Object 
    Implements IEnumerator.Current 
    Get
'Utilisation
Dim instance As PositionCollection.Enumerator 
Dim value As Object 

value = CType(instance, IEnumerator).Current
Object IEnumerator.Current { get; }
private:
virtual property Object^ Current {
    Object^ get () sealed = IEnumerator::Current::get;
}
private abstract Current : Object 
private override Current : Object
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Valeur de propriété

Type : System.Object
The current element in the collection.

Implémente

IEnumerator.Current

Exceptions

Exception Condition
System.InvalidOperationException

The enumerator is currently before the first or after the last Position in the PositionCollection.

Voir aussi

Référence

PositionCollection.Enumerator Structure

Espace de noms Microsoft.AnalysisServices.AdomdClient