NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNode.ID

The identifier of this node.

[Visual Basic]
Overridable Public Property ID As XmlIdent
[C#]
public XmlIdent ID {virtual get; virtual set;}
[C++]
public: __property virtual XmlIdent* get_ID();
public: __property virtual void set_ID(XmlIdent*);
[JScript]
public function get ID() : XmlIdent;
public function set ID(XmlIdent);

Exceptions

Exception Type Condition
InvalidOperationException When setting this property on anything but an XmlElement or an XmlPI node.

Remarks

The value of this property depends on the actual XmlNode class as follows:

XmlNode class Value
XmlDocument An identifier with the name "#document" and an empty namespace URI.
XmlElement An identifier with the name and namespace URI of the element.
XmlText An identifier with the name "#text" and an empty namespace URI.
XmlCData An identifier with the name "#cdata" and an empty namespace URI.
XmlComment An identifier with the name "#comment" and an empty namespace URI.
XmlPI An identifier with a name that starts with '?' and an empty namespace URI.
XmlHeader An identifier with the name "?xml" and an empty namespace URI.
XmlDocType An identifier with the name "#doctype" and an empty namespace URI.

See Also

XmlNode Class | XmlNode Members | System.Xml Namespace