Export (0) Print
Expand All

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft