CollectionEditor.SetItems Method (Object, Object())

 

Sets the specified array as the items of the collection.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

Protected Overridable Function SetItems (
	editValue As Object,
	value As Object()
) As Object

Parameters

editValue
Type: System.Object

The collection to edit.

value
Type: System.Object()

An array of objects to set as the collection items.

Return Value

Type: System.Object

The newly created collection object or, otherwise, the collection indicated by the editValue parameter.

If setting requires that a new object be created, the new object is returned. Otherwise, the editValue parameter is returned.

.NET Framework
Available since 1.1
Return to top
Show: