編輯

共用方式為


ListBox.SelectedIndexCollection.IList.Item[Int32] Property

Definition

For a description of this member, see Item[Int32].

property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
object System.Collections.IList.Item[int index] { get; set; }
object? System.Collections.IList.Item[int index] { get; set; }
member this.System.Collections.IList.Item(int) : obj with get, set
 Property Item(index As Integer) As Object Implements IList.Item

Parameters

index
Int32

The zero-based index of the element to get.

Property Value

The index value from the ListBox.ObjectCollection that is stored at the specified location.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ListBox.SelectedIndexCollection instance is cast to an IList interface.

Applies to