Propriété MemberCollection.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 MemberCollection.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
Exceptions
Exception | Condition |
---|---|
System.InvalidOperationException | The enumerator is currently before the first or after the last Member in the MemberCollection. |