共用方式為


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 BackupLocationCollection
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 支援明確介面實作的使用,但不支援新介面實作的宣告。

參數

屬性值

型別:System. . :: . .Object

實作

IList. . :: . .Item[ ( [ ( Int32] ) ] )