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