Свойство AxisCollection.Enumerator.Current

Gets the current Axis in the AxisCollection.

Пространство имен:  Microsoft.AnalysisServices.AdomdClient
Сборка:  Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)

Синтаксис

'Декларация
Public ReadOnly Property Current As Axis 
    Get
'Применение
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

Значение свойства

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

Исключения

Исключение Условие
System.InvalidOperationException

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

Замечания

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.

См. также

Справочник

AxisCollection.Enumerator Структура

Пространство имен Microsoft.AnalysisServices.AdomdClient