Share via


LevelCollection.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 LevelCollection.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 Level in the LevelCollection.

See Also

Reference

LevelCollection.Enumerator Structure

Microsoft.AnalysisServices.AdomdClient Namespace