指定したインデックスにある RestoreLocation をコレクションから取得します。
名前空間: Microsoft.AnalysisServices
アセンブリ: Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)
構文
'宣言
Public Default Property Item ( _
index As Integer _
) As RestoreLocation
Get
Set
'使用
Dim instance As RestoreLocationCollection
Dim index As Integer
Dim value As RestoreLocation
value = instance(index)
instance(index) = value
public RestoreLocation this[
int index
] { get; set; }
public:
property RestoreLocation^ default[int index] {
RestoreLocation^ get (int index);
void set (int index, RestoreLocation^ value);
}
member Item : RestoreLocation with get, set
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- index
型: System.Int32
取得する RestoreLocation の 0 から始まるインデックスです。
プロパティ値
型: Microsoft.AnalysisServices.RestoreLocation
指定したインデックスにある RestoreLocation です。
例外
| 例外 | 条件 |
|---|---|
| ArgumentOutOfRangeException | index に 0 より小さい値が指定されています。 -または- index に Count 以上の値が指定されています。 |