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.Value

Gets or sets the value of the node.

[Visual Basic]
Overridable Public Property Value As String
[C#]
public string Value {virtual get; virtual set;}
[C++]
public: __property virtual String* get_Value();
public: __property virtual void set_Value(String*);
[JScript]
public function get Value() : String;
public function set Value(String);

Property Value

The value returned depends on the NodeType of the node:

Type Value
Attr value of attribute
CDATASection content of the CDATA Section
Comment content of the comment
Document null
DocumentFragment null
DocumentType null
Element null
Entity null
EntityReference null
Notation null
ProcessingInstruction entire content excluding the target
Text content of the text node

Exceptions

Exception Type Condition
ReadOnlyException Node is read-only.
ArgumentOutOfRangeException [To be supplied.]

See Also

XmlNode Class | XmlNode Members | System.NewXml Namespace