Reads a text-only element with a given identifier.
[Visual Basic] Overloads Public Function ReadString( _ ByVal id As XmlIdent _ ) As String [C#] public string ReadString( XmlIdent id ); [C++] public: String* ReadString( XmlIdent* id ); [JScript] public function ReadString( id : XmlIdent ) : String;
The text contained in the element that was read. If the element was empty (i.e. of the form
Exceptions
Exception Type | Condition |
---|---|
XmlException | If the input is not of the form |
A call to this method corresponds to a call to CheckStartTag followed by a call to ReadString.
XmlReader Class | XmlReader Members | System.Xml Namespace | XmlReader.ReadString Overload List | ReadString | ReadString | ReadString