XmlAttribute.InnerText Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the concatenated values of the node and all its children.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public override string InnerText { set; }

Property Value

Type: System.String

The concatenated values of the node and all its children. For attribute nodes, this property has the same functionality as the Value property.

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

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: