Node.NodeValue

Node.NodeValue property

Returns or sets the value of the current node.

public virtual string NodeValue { get; set; }

Property Value

A string containing the value of the current node, if any. For the document itself, NodeValue returns null. For text, comment, and CDATA nodes, NodeValue returns the content of the node. For attribute nodes, the value of the attribute is returned.

Remarks

Reference:

DOM Standard.

See Also