ObjectSelectorEditor.Selector.SetSelection Method (Object, TreeNodeCollection)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: