System.Xml.XmlNode.InnerText Property

Gets or sets the concatenated values of the node and all its child nodes.

Syntax

public virtual string InnerText { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Setting this property replaces all the child nodes with the parsed contents of the given string.

For leaf nodes, InnerText returns the same content as the XmlNode.Value property.

This property is a Microsoft extension to the Document Object Model (DOM).

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