ObjectSelectorEditor::Selector::SetSelection Method (Object^, TreeNodeCollection^)

 

Sets the collection nodes to a specific value.

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

public:
bool SetSelection(
	Object^ value,
	TreeNodeCollection^ nodes
)

Parameters

value
Type: System::Object^

The value to be set.

nodes
Type: System.Windows.Forms::TreeNodeCollection^

The nodes collection.

Return Value

Type: System::Boolean

true if the collection nodes were set; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: