







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
The indexer must be overridden by the derived class to get and set
values of the list at a particular index.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
| C# |
|---|
public abstract T this[ int index ]{ get; set;} |
| Visual Basic (Declaration) |
|---|
Public MustOverride Default Property Item ( _ index As Integer _ ) As T |
| Visual C++ |
|---|
public: virtual property T default[int index] { T get (int index) abstract; void set (int index, T value) abstract; } |
Parameters
- index
- Int32
The index in the list to get or set an item at. The first item in the list has index 0, and the last has index Count-1.
Return Value
The item at the given index.
Exceptions
| Exception | Condition |
|---|---|
| System..::ArgumentOutOfRangeException | index is less than zero or greater than or equal to Count. |
See Also
ListBase<(Of <T>)> Class
Wintellect.PowerCollections Namespace
