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


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

Implements the System.Collections..::..IEnumerator interface to support iterating over an AxisCollection and reading its individual Axis objects.

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

Синтаксис

'Декларация
Public Structure Enumerator _
    Implements IEnumerator
'Применение
Dim instance As AxisCollection.Enumerator
public struct Enumerator : IEnumerator
public value class Enumerator : IEnumerator
[<SealedAttribute>]
type Enumerator =  
    struct
        interface IEnumerator
    end
JScript поддерживает использование структур, но не объявление новых.

Тип AxisCollection..::..Enumerator обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство Current Gets the current Axis in the AxisCollection.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от ValueType.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от ValueType.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод MoveNext Moves to the next Axis in the AxisCollection.
Открытый метод Reset Sets the enumerator to its initial position, which is before the first axis in the collection.
Открытый метод ToString (Производный от ValueType.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытое свойство IEnumerator. . :: . .Current

В начало

Замечания

In Microsoft JScript, you can use the structures in the Microsoft .NET Framework, but you cannot define your own.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.