Share via


ReadElementString Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Reads the simple text-only elements.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method ReadElementString() () () () Reads a text-only element.
Public method ReadElementString(String) Checks that the Name property of the element found matches the given string before reading a text-only element.
Public method ReadElementString(String, String) Checks that the LocalName and NamespaceURI properties of the element found matches the given strings before reading a text-only element.

Top

Remarks

For the asynchronous version of this method, see ReadElementStringAsync.

See Also

Reference

XmlReader Class

System.Xml Namespace