Redigera

Dela via


ListBox.SelectedObjectCollection(ListBox) Constructor

Definition

Initializes a new instance of the ListBox.SelectedObjectCollection class.

public:
 SelectedObjectCollection(System::Windows::Forms::ListBox ^ owner);
public SelectedObjectCollection (System.Windows.Forms.ListBox owner);
new System.Windows.Forms.ListBox.SelectedObjectCollection : System.Windows.Forms.ListBox -> System.Windows.Forms.ListBox.SelectedObjectCollection
Public Sub New (owner As ListBox)

Parameters

owner
ListBox

A ListBox representing the owner of the collection.

Remarks

An instance of this class cannot be created without associating it with a ListBox control.

Applies to