CollectionEditor.SetItems Method (Object, Object[])
.NET Framework (current version)
Sets the specified array as the items of the collection.
Assembly: System.Design (in System.Design.dll)
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.ObjectThe 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
Available since 1.1
Show: