次の方法で共有


ModelComponentCollection.IList.Item プロパティ

指定されたインデックス位置の要素を取得または設定します。

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

構文

'宣言
Private Property Item ( _
    index As Integer _
) As Object Implements IList.Item 
    Get 
    Set
'使用
Dim instance As ModelComponentCollection 
Dim index As Integer 
Dim value As Object 

value = CType(instance, IList).Item(index)

CType(instance, IList).Item(index) = value
Object IList.this[
    int index
] { get; set; }
private:
virtual property Object^ Item[int index] {
    Object^ get (int index) sealed = IList::Item::get;
    void set (int index, Object^ value) sealed = IList::Item::set;
}
private abstract Item : Object with get, set 
private override Item : Object with get, set
JScript は明示的なインターフェイス実装の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

  • index
    型: System.Int32
    取得または設定する要素の 0 から始まるインデックスです。

プロパティ値

型: System.Object
指定したインデックスにある要素です。

実装

IList.Item[Int32]

関連項目

参照

ModelComponentCollection クラス

Microsoft.AnalysisServices 名前空間