ListBox::IntegerCollection::Item Property (Int32)

 

Gets or sets the Item having the specified index.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property int default[
	int index
] {
	int get(int index);
	void set(int index, int value);
}

Parameters

index
Type: System::Int32

The position of the Item in the collection.

Property Value

Type: System::Int32

The selected Item at the specified position.

.NET Framework
Available since 2.0
Return to top
Show: