Reads the contents of an element as a string.
[Visual Basic] Overrides Public Function ReadString() As String [C#] public override string ReadString(); [C++] public: override String* ReadString(); [JScript] public override function ReadString() : String;
The contents of the element.
Exception Type | Condition |
---|---|
XmlException | Markup was found instead of an end tag. |
XmlTextReader Class | XmlTextReader Members | System.NewXml Namespace