[To be supplied.]
Reads a text-only element with a given name and namespace URI.
[Visual Basic] Overloads Public Function ReadString(String, String) As String
[C#] public string ReadString(String, String);
[C++] public: String* ReadString(String*, String*);
[JScript] public function ReadString(String, String) : String;
Reads a text-only element with a given identifier.
[Visual Basic] Overloads Public Function ReadString(XmlIdent) As String
[C#] public string ReadString(XmlIdent);
[C++] public: String* ReadString(XmlIdent*);
[JScript] public function ReadString(XmlIdent) : String;
Reads a text-only element.
[Visual Basic] Overloads Public Function ReadString() As String
[C#] public string ReadString();
[C++] public: String* ReadString();
[JScript] public function ReadString() : String;
Reads a text-only element with a given name.
[Visual Basic] Overloads Public Function ReadString(String) As String
[C#] public string ReadString(String);
[C++] public: String* ReadString(String*);
[JScript] public function ReadString(String) : String;
Given the following XML input:
Note This example shows how to use one of the overloaded versions of ReadString. For other examples that may be available, see the individual overload topics.
and given an XmlTextReader that is positioned on the
To read an optional element, a call to
IsStartTag can be combined with a call to ReadString, as is the case for the line that reads the
See Also