Table of Contents

Method FindFormField

Namespace
DocWright.Dom.Forms
Assembly
DocWright.Dom.dll

FindFormField(DomNode, string)

Finds a form field by its w:name, or returns null.

public static FormField? FindFormField(this DomNode root, string name)

Parameters

root DomNode

The subtree root.

name string

The name to match, compared ordinally.

Returns

FormField

The field, or null when no field carries that name.

Exceptions

ArgumentNullException

root or name is null.