編輯

共用方式為


ListBox.IntegerCollection(ListBox) Constructor

Definition

Initializes a new instance of the ListBox.IntegerCollection class.

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

Parameters

owner
ListBox

The ListBox that owns the collection.

Exceptions

.NET 5 and later: owner is null.

Remarks

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

Applies to