This documentation is archived and is not being maintained.

XmlAttribute.InnerXml Property

Gets or sets the value of the attribute.

[Visual Basic]
Overrides Public Property InnerXml As String
public override string InnerXml {get; set;}
public: __property String* get_InnerXml();
public: __property void set_InnerXml(String*);
public override function get InnerXml() : String;
public override function set InnerXml(String);

Property Value

The attribute value.


Exception Type 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).


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

XmlAttribute Class | XmlAttribute Members | System.Xml Namespace | InnerText | OuterXml