[This is preliminary documentation and is subject to change.]
Gets or sets the element at the specified index.
Namespace: Tools.CollectionsT.GenericTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public virtual T this[
int index
] { get; set; } |
| Visual Basic |
|---|
Public Overridable Default Property Item ( _
index As Integer _
) As T
Get
Set |
| Visual C++ |
|---|
public:
virtual property T default[int index] {
T get (int index);
void set (int index, T value);
} |
| F# |
|---|
abstract Item : 'T with get, set
override Item : 'T with get, set |
| JScript |
|---|
JScript does not support indexed properties. |
Parameters
- index
- Type: System..::..Int32
The zero-based index of the element to get or set.
Return Value
The element at the specified index.
Implements
IList<(Of <(<'T>)>)>..::..Item[([( Int32])])
Exceptions
See Also
Version History