IList.Item 屬性
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Private Property Item ( _
index As Integer _
) As Object Implements IList.Item
Get
Set
'用途
Dim instance As ResultSetView
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
屬性值
實作
IList. . :: . .Item[ ( [ ( Int32] ) ] )