Gets or sets the element at the specified index.
public this[
int
]; {get; set;}
'Declaration
Public Default Property Item( _
ByVal As Integer _
) As
'Usage
Dim instance As ListWithEvents(Of T)
Dim index As Integer
Dim value As
instance.Item(index) = value
value = instance.Item(index)
public: __property get_Item int
;
public: __property void set_Item int ,
;
public:
property default [int] {
get(int );
void set (int , value);
}
Parameters
- index
- The zero-based index of the element to get or set.
Property Value
The element at the specified index.