Bahasa

ListBox.IntegerCollection(ListBox) Konstruktor

Definisi

Menginisialisasi instans baru dari kelas ListBox.IntegerCollection.

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)

Parameter

owner
ListBox

Yang ListBox memiliki koleksi.

Pengecualian

.NET 5 dan yang lebih baru: owner adalah null.

Keterangan

Anda tidak dapat membuat instans ListBox.IntegerCollection kelas tanpa mengaitkannya dengan ListBox kontrol.

Berlaku untuk