Share via


PositionCollection.Enumerator.IEnumerator.Current Property

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 supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

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

Implements

IEnumerator.Current

Exceptions

Exception Condition
System.InvalidOperationException

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

See Also

Reference

PositionCollection.Enumerator Structure

Microsoft.AnalysisServices.AdomdClient Namespace