The Switch type exposes the following members.
| Name | Description |
|---|
 | Switch | Overloaded.
Initializes a new instance of Switch.
|
| Name | Description |
|---|
 | Cases |
Gets or sets the list of case statements that the Switch statement contains and evaluates against the TestExpression.
|
 | Default |
Gets or sets the default case statement to execute if the TestExpression does not match the CaseValue of any of the Cases. |
 | Description |
Gets or sets the description of the node that appears in the Property Browser when you select the node in the Stimulus Profile Editor.
(Inherited from BaseNode.) |
 | ResXKey |
Gets or sets the ResX key for the node, which is a pointer to a .resx file that contains a context help description for the node.
(Inherited from BaseNode.) |
 | TestExpression |
The expression to evaluate each CaseValue in the Cases list against to determine which case to execute. If this value matches the value of a case, the Switch statement executes that case. If no case matches this value, the statement executes the Default case.
|