ReadElementString Method
TOC
Collapse the table of content
Expand the table of content

XmlDictionaryReader.ReadElementString Method

 

Namespace:   System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

NameDescription
System_CAPS_pubmethodReadElementString()

Reads a text-only element. However, we recommend that you use the ReadElementContentAsString() method instead, because it provides a more straightforward way to handle this operation.(Inherited from XmlReader.)

System_CAPS_pubmethodReadElementString(String)

Checks that the Name property of the element found matches the given string before reading a text-only element. However, we recommend that you use the ReadElementContentAsString() method instead, because it provides a more straightforward way to handle this operation.(Inherited from XmlReader.)

System_CAPS_pubmethodReadElementString(String, String)

Checks that the LocalName and NamespaceURI properties of the element found matches the given strings before reading a text-only element. However, we recommend that you use the ReadElementContentAsString(String, String) method instead, because it provides a more straightforward way to handle this operation.(Inherited from XmlReader.)

Return to top
Show:
© 2016 Microsoft