다음을 통해 공유


XmlDictionaryReader.ReadContentAsString Method (array<String[], Int32%)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Converts a node's content to a string.

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

Syntax

'Declaration
Public Overridable Function ReadContentAsString ( _
    strings As String(), _
    <OutAttribute> ByRef index As Integer _
) As String
public virtual string ReadContentAsString(
    string[] strings,
    out int index
)

Parameters

  • strings
    Type: array<System.String[]
    The array of strings 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.

Exceptions

Exception Condition
ArgumentNullException

strings is nulla null reference (Nothing in Visual Basic).

ArgumentNullException

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

Version Information

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

Platforms

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