ListBox.CreateItemCollection メソッド

定義

項目コレクションの新しいインスタンスを作成します。

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

戻り値

新しい項目コレクションを表す ListBox.ObjectCollection

注意 (継承者)

派生クラスでこれをオーバーライドして、項目を格納する別のコレクションを提供できます。

適用対象

こちらもご覧ください