Gets the element at the specified index.
Syntax
| Visual Basic (Declaration) | |
|---|
Public ReadOnly Default Property Item( _
ByVal index As System.Integer _
) As Member |
Parameters
- index
- The zero-based index of the element to get.
Property Value
The element at the specified index.
Exceptions
| Exception | Description |
| System.ArgumentOutOfRangeException | index is less than zero.-or-index is equal to or greater than System.Collections.ObjectModel.ReadOnlyCollection`1.Count. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also