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.ReadString (String)

Reads a text-only element with a given name.

[Visual Basic]
Overloads Public Function ReadString( _
   ByVal name As String _
) As String
[C#]
public string ReadString(
   string name
);
[C++]
public: String* ReadString(
   String* name
);
[JScript]
public function ReadString(
   name : String
) : String;

Parameters

name
The required name of the element.

Return Value

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

Remarks

A call to this method corresponds to a call to CheckStartTag followed by a call to ReadString.

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace | XmlReader.ReadString Overload List | ReadString | ReadString | ReadString