Set(String) Method
Sets the state of the object by name.
C# Syntax
void Set( 
   string state
)

Parameters

state
Possible values: The states defined in the toggle object.