ReadContentAsString Method (Int32)
Collapse the table of content
Expand the table of content

XmlDictionaryReader.ReadContentAsString Method (Int32)

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

Converts a node's content to a string.

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

protected string ReadContentAsString(
	int maxStringContentLength
)

Parameters

maxStringContentLength
Type: System.Int32
The maximum string length.

Return Value

Type: System.String
The node content in string representation.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft