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: