Expand Minimize
This topic has not yet been rated - Rate this topic

XmlDictionaryReader.ReadElementString Method

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.

  Name Description
Public method ReadElementString() Reads a text-only element. (Inherited from XmlReader.)
Public method ReadElementString(String) Checks that the Name property of the element found matches the given string before reading a text-only element. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
Top
Exception Condition
InvalidOperationException

An XmlReader method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message “An asynchronous operation is already in progress.”

For the asynchronous version of this method, see ReadElementStringAsync.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.