Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlAttribute::InnerText Property

 

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

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

public:
property String^ InnerText {
	virtual void set(String^ value) override;
}

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:
© 2017 Microsoft