ListBox.SelectedObjectCollection.Add Method (Object)

 

Adds an item to the list of selected items for a ListBox.

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

public void Add(
	object value
)

Parameters

value
Type: System.Object

An object representing the item to add to the collection of selected items.

.NET Framework
Available since 2.0
Return to top
Show: