指定した名前の Level をコレクションから取得します。 C# の場合、このプロパティは LevelCollection クラスのインデクサーとなります。
名前空間: Microsoft.AnalysisServices.AdomdClient
アセンブリ: Microsoft.AnalysisServices.AdomdClient (Microsoft.AnalysisServices.AdomdClient.dll)
構文
'宣言
Public ReadOnly Default Property Item ( _
index As String _
) As Level
Get
'使用
Dim instance As LevelCollection
Dim index As String
Dim value As Level
value = instance(index)
public Level this[
string index
] { get; }
public:
property Level^ default[String^ index] {
Level^ get (String^ index);
}
member Item : Level
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- index
型: System.String
検索する Level の名前です。
プロパティ値
型: Microsoft.AnalysisServices.AdomdClient.Level
指定した名前の Level です。
例外
| 例外 | 条件 |
|---|---|
| AdomdErrorResponseException | プロバイダーから応答でエラーが返されました。 |
| AdomdUnknownResponseException | プロバイダーから認識できない応答が送信されました。 |
| AdomdConnectionException | 接続が解除されました。 |
| System.InvalidOperationException | Level がコレクションに見つかりませんでした。 |