Table of Contents

Method ElementValue

Namespace
DocWright.Reporting
Assembly
DocWright.Reporting.dll

ElementValue(string)

Gets the text of the first child with the given local name.

public string? ElementValue(string localName)

Parameters

localName string

The local name to find.

Returns

string

The child's text, or null when the child is absent — which is how the model distinguishes "not stated" from "stated as empty".