Method FindSwitch
FindSwitch(string)
Returns the first switch with the given name, or null. Matching is case-sensitive on the switch character, as Word's switches are.
public FieldSwitch? FindSwitch(string name)
Parameters
namestringThe switch name including its backslash, for example
\h.
Returns
- FieldSwitch
The switch, or null.