Table of Contents

Method FindSwitch

Namespace
DocWright.Dom.Fields
Assembly
DocWright.Dom.dll

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

name string

The switch name including its backslash, for example \h.

Returns

FieldSwitch

The switch, or null.