共用方式為


CubeCollection.Enumerator 類別

Implements the IEnumerator interface to support iterating over a CubeCollection and reading its individual CubeDef objects.

繼承階層

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdServer..::..CubeCollection..::..Enumerator

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

語法

'宣告
Public NotInheritable Class Enumerator _
    Implements IEnumerator
'用途
Dim instance As CubeCollection.Enumerator
public sealed class Enumerator : IEnumerator
public ref class Enumerator sealed : IEnumerator
[<SealedAttribute>]
type Enumerator =  
    class
        interface IEnumerator
    end
public final class Enumerator implements IEnumerator

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

屬性

  名稱 說明
公用屬性 Current Gets the current CubeDef in the CubeCollection.

上層

方法

  名稱 說明
公用方法 {dtor} Releases all resources used by the CubeCollection..::..Enumerator.
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 MoveNext Moves to the next CubeDef in the CubeCollection.
公用方法 Reset Sets the Enumerator to its initial position, which is before the first element in the collection.
公用方法 ToString (繼承自 Object。)

上層

備註

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

執行緒安全性

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