Gets or sets the
Generic IList at the specified index.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Default Property Item( _
ByVal index As Integer _
) As T |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As ThreadSafeList(Of T)
Dim index As Integer
Dim value As T
instance.Item(index) = value
value = instance.Item(index)
|
| C# | |
|---|
public T this[
int index
]; {get; set;} |
Parameters
- index
- int index
Return Value
The item in the list.
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also