Propriedade do RDL AxisCollection.Enumerator.Current
Gets the current Axis in the AxisCollection.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxe
'Declaração
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 da propriedade
Tipo: Microsoft.AnalysisServices.AdomdClient.Axis
The Axis in the collection, if the enumerator has not passed the end of the collection.
Exceções
Exceção | Condição |
---|---|
System.InvalidOperationException | The enumerator is currently before the first or after the last Axis in the AxisCollection. |
Comentários
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.