Export (0) Print
Expand All

XmlDictionaryReader.ReadContentAsString Method (XmlDictionaryString[], Int32)

Converts a node's content to a string.

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

abstract ReadContentAsString : 
        strings:XmlDictionaryString[] * 
        index:int byref -> string  
override ReadContentAsString : 
        strings:XmlDictionaryString[] * 
        index:int byref -> 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 a null reference (Nothing in Visual Basic).

ArgumentNullException

An entry in strings is a null reference (Nothing in Visual Basic).

.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