CollectionEditor::SetItems Method (Object^, array<Object^>^)

 

Sets the specified array as the items of the collection.

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

protected:
virtual Object^ SetItems(
	Object^ editValue,
	array<Object^>^ value
)

Parameters

editValue
Type: System::Object^

The collection to edit.

value
Type: array<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: