ListBox.CreateItemCollection Methode

Definition

Erstellt eine neue Instanz der Elementsammlung.

protected:
 virtual System::Windows::Forms::ListBox::ObjectCollection ^ CreateItemCollection();
protected virtual System.Windows.Forms.ListBox.ObjectCollection CreateItemCollection();
abstract member CreateItemCollection : unit -> System.Windows.Forms.ListBox.ObjectCollection
override this.CreateItemCollection : unit -> System.Windows.Forms.ListBox.ObjectCollection
Protected Overridable Function CreateItemCollection () As ListBox.ObjectCollection

Gibt zurück

A ListBox.ObjectCollection that represents the new item collection.

Hinweise für Vererber

Sie können dies in ihren abgeleiteten Klassen überschreiben, um eine andere Sammlung zum Speichern Ihrer Elemente bereitzustellen.

Gilt für:

Weitere Informationen