XmlDictionaryReader.ReadElementContentAsString Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts an element's content to a String.

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


Public Overrides Function ReadElementContentAsString As String
public override string ReadElementContentAsString()

Return Value

Type: System..::.String
The node's content represented as a String.


The string returned by this read operation is limited by the MaxStringContentLength quota.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


XmlDictionaryReader Class

ReadElementContentAsString Overload

System.Xml Namespace