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!

XmlReader.Text

The text associated with the current node.

[Visual Basic]
Overridable Public ReadOnly Property Text As String
[C#]
public string Text {virtual get;}
[C++]
public: __property virtual String* get_Text();
[JScript]
public function get Text() : String;

Remarks

The value of this property depends on the current NodeType as follows:

NodeType Value
StartTag A null reference.
EndTag A null reference.
Text The characters of the text node. The IsWhitespace property is true if the text is an empty string or consists of whitespace characters only.
CData The characters of the CDATA node.
Comment The string of characters between the
PI The string of characters starting with the first non-whitespace character after the processing instruction name and ending with the character immediately preceding the
Header A null reference.
DocType The complete text of the document type declaration, starting with the characters "<!DOCTYPE" and ending with the character ">".
BOF A null reference.
EOF A null reference.

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace