Gets or sets the element at the specified index.
Namespace:
PPJoy
Assembly:
PPJoyWrapper (in PPJoyWrapper.dll)
Syntax
Visual Basic (Declaration) |
---|
Private Property Item ( _
index As Integer _
) As Object Implements IList.Item |
C# |
---|
Object IList.Item[
int index
] { get; set; } |
Visual C++ |
---|
private:
virtual property Object^ Item[int index] {
Object^ get (int index) sealed = IList::Item::get;
void set (int index, Object^ value) sealed = IList::Item::set;
} |
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..::.Item[([(Int32])])
Exceptions
Exception | Condition |
---|
System..::.ArgumentOutOfRangeException | index is not a valid index in the IList. |
System..::.NotSupportedException | The property is set and the IList is read-only. |
See Also