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


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

Supports iterating over a NamedSetCollection and reading its individual NamedSet objects.

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

Синтаксис

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

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

Свойства

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

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от ValueType.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от ValueType.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод MoveNext Moves to the next NamedSet in the NamedSetCollection.
Открытый метод Reset Sets the enumerator to its initial position, which is before the first element 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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.