Поделиться через


Свойство BindingCollection.IList.Item

Gets or sets the element at the specified index.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Private Property Item ( _
    index As Integer _
) As Object Implements IList.Item 
    Get 
    Set
'Применение
Dim instance As BindingCollection 
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
    The zero-based index of the element to get or set.

Значение свойства

Тип: System.Object
The element at the specified index.

Реализует

IList.Item[Int32]

См. также

Справочник

BindingCollection Класс

Пространство имен Microsoft.AnalysisServices