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::InnerXml Property

 

Sets the value of the attribute.

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

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

Property Value

Type: System::String^

The attribute value.

Exception Condition
XmlException

The XML specified when setting this property is not well-formed.

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