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


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

Supports iterating over a PropertyCollection and reading its individual Property objects.

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

Синтаксис

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

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

Свойства

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

В начало

Методы

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

В начало

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

  Имя Описание
Явная реализация интерфейсаЗакрытое свойство IEnumerator.Current Gets the current element in the collection.

В начало

Замечания

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

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

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

См. также

Справочник

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