Поделиться через


Свойство PropertyCollection.Enumerator.IEnumerator.Current

Gets the current element in the collection.

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

Синтаксис

'Декларация
Private ReadOnly Property Current As Object 
    Implements IEnumerator.Current 
    Get
'Применение
Dim instance As PropertyCollection.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 поддерживает использование явных реализаций интерфейса, но не объявление новых.

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

Тип: System.Object
The current element in the collection.

Реализует

IEnumerator.Current

Исключения

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

The enumerator is currently before the first or after the last Property in the PropertyCollection.

См. также

Справочник

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

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