編輯

共用方式為


ListBox.SelectedIndexCollection(ListBox) Constructor

Definition

Initializes a new instance of the ListBox.SelectedIndexCollection class.

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

Parameters

owner
ListBox

A ListBox representing the owner of the collection.

Remarks

You cannot create an instance of this class without associating it with a ListBox control.

Applies to