Freigeben über


PositionCollection.Enumerator.IEnumerator.Current-Eigenschaft

Gets the current element in the collection.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Private ReadOnly Property Current As Object 
    Implements IEnumerator.Current 
    Get
'Usage
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Eigenschaftswert

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

Implementiert

IEnumerator.Current

Ausnahmen

Ausnahme Bedingung
System.InvalidOperationException

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

Siehe auch

Verweis

PositionCollection.Enumerator Struktur

Microsoft.AnalysisServices.AdomdClient-Namespace