Base List ControlObject CollectionItem Property
This is used to set or get items by index position
Definition
Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public Object? this[
int index
] { get; set; }VB
Public Default Property Item (
index As Integer
) As Object
Get
SetC++
public:
virtual property Object^ default[int index] {
Object^ get (int index) sealed;
void set (int index, Object^ value) sealed;
}F#
abstract Item : Object with get, set
override Item : Object with get, setParameters
- index Int32
- The index position of the item to set or get
Property Value
ObjectImplements
IListItemInt32Exceptions
| ArgumentOutOfRangeException | This is thrown if the index value is not within the bounds of the collection. |
| ArgumentException | This is thrown if an attempt is made to set an item when a data source is in use. |
| ArgumentOutOfRangeException | This is thrown if the index value is not within the bounds of the collection. |