共用方式為


CubeCollection.Enumerator.Current 屬性

Gets the current CubeDef in the CubeCollection.

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

語法

'宣告
Public ReadOnly Property Current As CubeDef 
    Get
'用途
Dim instance As CubeCollection.Enumerator 
Dim value As CubeDef 

value = instance.Current
public CubeDef Current { get; }
public:
property CubeDef^ Current {
    CubeDef^ get ();
}
member Current : CubeDef
function get Current () : CubeDef

屬性值

型別:Microsoft.AnalysisServices.AdomdClient.CubeDef
The current CubeDef in the CubeCollection, if the Enumerator has not passed the end of the collection.

例外狀況

例外狀況 條件
System.InvalidOperationException

The Enumerator is currently before the first or after the last cube in the CubeCollection.

請參閱

參考

CubeCollection.Enumerator 結構

Microsoft.AnalysisServices.AdomdClient 命名空間