SetChecked Method
Sets the state of the node in the tree.
C# Syntax
void SetChecked( 
   bool state
)

Parameters

state
The new state of the check box: true - Checked, false - Unchecked.