Overload | Description |
---|---|
Item(String) | The indexer for access to the specified attribute value of this XML document. Gets and sets string attribute value with the specified name. |
Item(String,Int32) | Indexer of access to the subordinate XML element using the specified element name and address. Gets the DynamicXml instance with the specified elementName name and index index. |
Exception | Description |
---|---|
InvalidObjectStateException | When attempting to set an attribute value of an uninitialized XML element. |
The indexer is overloaded.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2