CheckedListBox.CheckedItemCollection.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 an object in the checked items collection.
public:
property System::Object ^ default[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
[System.ComponentModel.Browsable(false)]
public object this[int index] { get; set; }
[System.ComponentModel.Browsable(false)]
public object? this[int index] { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Item(int) : obj with get, set
Default Public Property Item(index As Integer) As Object
Parameters
- index
- Int32
An index into the collection of checked items. This collection index corresponds to the index of the checked item.
Property Value
The object at the specified index. For more information, see the examples in the CheckedListBox.CheckedItemCollection class overview.
Implements
- Attributes
Exceptions
The object cannot be set.
Remarks
The CheckedItems collection is a subset of the objects in the Items collection, representing only items that are checked. This collection is ordered in ascending order.
Applies to
See also
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk