Share via


ListBox.ObjectCollection Oluşturucular

Tanım

yeni bir örneğini ListBox.ObjectCollectionbaşlatır.

Aşırı Yüklemeler

ListBox.ObjectCollection(ListBox)

yeni bir örneğini ListBox.ObjectCollectionbaşlatır.

ListBox.ObjectCollection(ListBox, Object[])

Bir nesne dizisi içeren yeni bir örneğini ListBox.ObjectCollection başlatır.

ListBox.ObjectCollection(ListBox, ListBox+ObjectCollection)

Başka ListBox.ObjectCollectionbir öğesini temel alarak yeni bir örneğini ListBox.ObjectCollection başlatır.

ListBox.ObjectCollection(ListBox)

yeni bir örneğini ListBox.ObjectCollectionbaşlatır.

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

Parametreler

owner
ListBox

ListBox Koleksiyonun sahibi.

Özel durumlar

.NET 5 ve üzeri: owner olur null.

Açıklamalar

Bir denetimle ilişkilendirmeden bu sınıfın bir ListBox örneğini oluşturamazsınız.

Şunlara uygulanır

ListBox.ObjectCollection(ListBox, Object[])

Bir nesne dizisi içeren yeni bir örneğini ListBox.ObjectCollection başlatır.

public:
 ObjectCollection(System::Windows::Forms::ListBox ^ owner, cli::array <System::Object ^> ^ value);
public ObjectCollection (System.Windows.Forms.ListBox owner, object[] value);
new System.Windows.Forms.ListBox.ObjectCollection : System.Windows.Forms.ListBox * obj[] -> System.Windows.Forms.ListBox.ObjectCollection
Public Sub New (owner As ListBox, value As Object())

Parametreler

owner
ListBox

ListBox Koleksiyonun sahibi.

value
Object[]

Koleksiyona eklenecek nesne dizisi.

Özel durumlar

.NET 5 ve üzeri: veya ownervalue şeklindedir null.

Açıklamalar

Bir denetimle ilişkilendirmeden bu sınıfın bir ListBox örneğini oluşturamazsınız.

Şunlara uygulanır

ListBox.ObjectCollection(ListBox, ListBox+ObjectCollection)

Başka ListBox.ObjectCollectionbir öğesini temel alarak yeni bir örneğini ListBox.ObjectCollection başlatır.

public:
 ObjectCollection(System::Windows::Forms::ListBox ^ owner, System::Windows::Forms::ListBox::ObjectCollection ^ value);
public ObjectCollection (System.Windows.Forms.ListBox owner, System.Windows.Forms.ListBox.ObjectCollection value);
new System.Windows.Forms.ListBox.ObjectCollection : System.Windows.Forms.ListBox * System.Windows.Forms.ListBox.ObjectCollection -> System.Windows.Forms.ListBox.ObjectCollection
Public Sub New (owner As ListBox, value As ListBox.ObjectCollection)

Parametreler

owner
ListBox

ListBox Koleksiyonun sahibi.

value
ListBox.ObjectCollection

ListBox.ObjectCollection İçeriğin bu koleksiyona kopyalandığı bir.

Özel durumlar

.NET 5 ve üzeri: veya ownervalue şeklindedir null.

Açıklamalar

Bir denetimle ilişkilendirmeden bu sınıfın bir ListBox örneğini oluşturamazsınız. Oluşturucunun bu sürümü, sınıfın mevcut bir örneğinde ListBox.ObjectCollection belirtilen öğeleri kullanarak koleksiyon oluşturulduğunda koleksiyona öğe eklemenizi sağlar. Bu oluşturucuyu, bu koleksiyonla başka bir ListBox denetimde belirtilen öğeleri kullanmak için kullanabilirsiniz.

Şunlara uygulanır