Delen via


OlapInfoAxisCollection.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 OlapInfoAxisCollection.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 OlapInfoAxis in the OlapInfoAxisCollection.

See Also

Reference

OlapInfoAxisCollection.Enumerator Structure

Microsoft.AnalysisServices.AdomdClient Namespace