Gets the element at the specified index.
| C# | Visual Basic | Visual C++ |
public UsbRegistry this[ int index ] { get; }
Public ReadOnly Default Property Item ( _ index As Integer _ ) As UsbRegistry Get
public: property UsbRegistry^ default[int index] { UsbRegistry^ get (int index); }
- index (Int32)
- The zero-based index of the element to get or set.
The element at the specified index.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is not a valid index in the IList<(Of <(<'T>)>)>. |
| NotSupportedException | The property is set and the IList<(Of <(<'T>)>)> is read-only. |