XmlDictionaryReader.CreateTextReader Method (Byte(), XmlDictionaryReaderQuotas)

Creates an instance of XmlDictionaryReader.

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

'Declaration
Public Shared Function CreateTextReader ( _
	buffer As Byte(), _
	quotas As XmlDictionaryReaderQuotas _
) As XmlDictionaryReader

Parameters

buffer
Type: System.Byte()
The buffer from which to read.
quotas
Type: System.Xml.XmlDictionaryReaderQuotas
The quotas applied to the reader.

Return Value

Type: System.Xml.XmlDictionaryReader
An instance of XmlDictionaryReader.

ExceptionCondition
ArgumentNullException

buffer is Nothing.

The reader created is optimized for reading UTF-8 text.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show: