次の方法で共有


CellPropertyCollection.Enumerator.Current プロパティ

CellPropertyCollection 内の現在の CellProperty を取得します。

名前空間:  Microsoft.AnalysisServices.AdomdClient
アセンブリ:  Microsoft.AnalysisServices.AdomdClient (Microsoft.AnalysisServices.AdomdClient.dll)

構文

'宣言
Public ReadOnly Property Current As CellProperty 
    Get
'使用
Dim instance As CellPropertyCollection.Enumerator 
Dim value As CellProperty 

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

プロパティ値

型: Microsoft.AnalysisServices.AdomdClient.CellProperty
Enumerator がコレクションの末尾に達していない場合は、CellPropertyCollection 内にある CellProperty です。

例外

例外 条件
System.InvalidOperationException

Enumerator は現在、CellPropertyCollection 内の最初のセル プロパティの前、または最後のセル プロパティの後にあります。

説明

Enumerator を作成した後や Reset を実行した後は、Current の値を読み取る前に MoveNext を呼び出して、Enumerator をコレクションの先頭の要素に進めておく必要があります。そうしないと、Current は未定義となります。

関連項目

参照

CellPropertyCollection.Enumerator 構造体

Microsoft.AnalysisServices.AdomdClient 名前空間