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
[C#]
public override string InnerXml {get; set;}
[C++]
public: __property String* get_InnerXml();
public: __property void set_InnerXml(String*);
[JScript]
public override function get InnerXml() : String;
public override function set InnerXml(String);

Property Value

The attribute value.

Exceptions

Exception Type Condition
XmlException The XML specified when setting this property is not well-formed.

Remarks

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

Requirements

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

Show: