ListBox.ObjectCollection Constructor (ListBox, Object[])

 

Initializes a new instance of ListBox.ObjectCollection containing an array of objects.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public ObjectCollection(
	ListBox owner,
	object[] value
)

Parameters

owner
Type: System.Windows.Forms.ListBox

The ListBox that owns the collection.

value
Type: System.Object[]

An array of objects to add to the collection.

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

.NET Framework
Available since 1.1
Return to top
Show: