Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ReadContentAsString Method (XmlDictionaryString[], Int32)

XmlDictionaryReader.ReadContentAsString Method (XmlDictionaryString(), Int32%)

Converts a node's content to a string.

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

'Declaration
Public Overridable Function ReadContentAsString ( _
	strings As XmlDictionaryString(), _
	<OutAttribute> ByRef index As Integer _
) As String

Parameters

strings
Type: System.Xml.XmlDictionaryString()
The array of XmlDictionaryString objects to match content against.
index
Type: System.Int32%
The index of the entry in strings that matches the content.

Return Value

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

ExceptionCondition
ArgumentNullException

strings is Nothing.

ArgumentNullException

An entry in strings is Nothing.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft