System.Xml.XmlNode.Value Property

Gets or sets the value of the node.

Syntax

public virtual string Value { get; set; }

Value

The value of this node, or null if the node does not have a value.

Remarks

Attribute values, processing instruction values, and other node values are returned by this property.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0