ListBox.IntegerCollection.Item[Int32] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the element at the specified index.
public:
property int default[int] { int get(int index); void set(int index, int value); };
public int this[int index] { get; set; }
member this.Item(int) : int with get, set
Default Public Property Item(index As Integer) As Integer
Parameters
- index
- Int32
The position of the element in the collection.
Property Value
The element at the specified index.
Exceptions
.NET 5 and later: index
is out of range.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.