共用方式為


LevelPropertyCollection.Enumerator 結構

Supports iterating over a LevelPropertyCollection and reading its individual LevelProperty objects.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Structure Enumerator _
    Implements IEnumerator
'用途
Dim instance As LevelPropertyCollection.Enumerator
public struct Enumerator : IEnumerator
public value class Enumerator : IEnumerator
[<SealedAttribute>]
type Enumerator =  
    struct
        interface IEnumerator
    end
JScript 支援結構的使用,但不支援結構的宣告。

LevelPropertyCollection..::..Enumerator 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Current Gets the current LevelProperty in the LevelPropertyCollection.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 ValueType。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 ValueType。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 MoveNext Moves to the next LevelProperty in the LevelPropertyCollection.
公用方法 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.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。