Export (0) Print
Expand All

XmlDictionaryReader::ReadContentAsString Method (array<String>, Int32%)

Converts a node's content to a string.

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

public:
virtual String^ ReadContentAsString(
	array<String^>^ strings, 
	[OutAttribute] 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.

ExceptionCondition
ArgumentNullException

strings is nullptr.

ArgumentNullException

An entry in strings is nullptr.

.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