Compartir a través de


AxisCollection.Enumerator.Current Propiedad

Gets the current Axis in the AxisCollection.

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public ReadOnly Property Current As Axis 
    Get
'Uso
Dim instance As AxisCollection.Enumerator 
Dim value As Axis 

value = instance.Current
public Axis Current { get; }
public:
property Axis^ Current {
    Axis^ get ();
}
member Current : Axis
function get Current () : Axis

Valor de la propiedad

Tipo: Microsoft.AnalysisServices.AdomdClient.Axis
The Axis in the collection, if the enumerator has not passed the end of the collection.

Excepciones

Excepción Condición
System.InvalidOperationException

The enumerator is currently before the first or after the last Axis in the AxisCollection.

Comentarios

After creating an enumerator or after a Reset, MoveNext must be called to advance the enumerator to the first element of the collection before reading the value of Current; otherwise, Current is undefined.

Vea también

Referencia

AxisCollection.Enumerator Estructura

Espacio de nombres Microsoft.AnalysisServices.AdomdClient