XmlDictionaryReader.CreateTextReader XmlDictionaryReader.CreateTextReader XmlDictionaryReader.CreateTextReader XmlDictionaryReader.CreateTextReader Method

Definición

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

Sobrecargas

CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

CreateTextReader(Byte[], XmlDictionaryReaderQuotas) CreateTextReader(Byte[], XmlDictionaryReaderQuotas) CreateTextReader(Byte[], XmlDictionaryReaderQuotas) CreateTextReader(Byte[], XmlDictionaryReaderQuotas)

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

CreateTextReader(Stream, XmlDictionaryReaderQuotas) CreateTextReader(Stream, XmlDictionaryReaderQuotas) CreateTextReader(Stream, XmlDictionaryReaderQuotas)

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

Comentarios

Estas sobrecargas crean una instancia de XmlDictionaryReader.These overloads create an instance of XmlDictionaryReader.

CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

public:
 static System::Xml::XmlDictionaryReader ^ CreateTextReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateTextReader (System.IO.Stream stream, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateTextReader : System.IO.Stream * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader

Parámetros

stream
Stream Stream Stream Stream

Secuencia a partir de la cual se lee.The stream from which to read.

encoding
Encoding Encoding Encoding Encoding

El objeto Encoding que especifica las propiedades de codificación que se van a aplicar.The Encoding object that specifies the encoding properties to apply.

onClose
OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose

El delegado al que se va a llamar cuando se cierre el lector.The delegate to be called when the reader is closed.

Devoluciones

Comentarios

El lector creado está optimizado para leer texto UTF-8.The reader created is optimized for reading UTF-8 text.

CreateTextReader(Byte[], XmlDictionaryReaderQuotas) CreateTextReader(Byte[], XmlDictionaryReaderQuotas) CreateTextReader(Byte[], XmlDictionaryReaderQuotas) CreateTextReader(Byte[], XmlDictionaryReaderQuotas)

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

public:
 static System::Xml::XmlDictionaryReader ^ CreateTextReader(cli::array <System::Byte> ^ buffer, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateTextReader (byte[] buffer, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateTextReader : byte[] * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateTextReader (buffer As Byte(), quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

Parámetros

buffer
Byte[]

El búfer del que se lee.The buffer from which to read.

quotas
XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas

Las cuotas que se aplican al lector.The quotas applied to the reader.

Devoluciones

Excepciones

Comentarios

El lector creado está optimizado para leer texto UTF-8.The reader created is optimized for reading UTF-8 text.

CreateTextReader(Stream, XmlDictionaryReaderQuotas) CreateTextReader(Stream, XmlDictionaryReaderQuotas) CreateTextReader(Stream, XmlDictionaryReaderQuotas)

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

public:
 static System::Xml::XmlDictionaryReader ^ CreateTextReader(System::IO::Stream ^ stream, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateTextReader (System.IO.Stream stream, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateTextReader : System.IO.Stream * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader

Parámetros

stream
Stream Stream Stream Stream

Secuencia a partir de la cual se lee.The stream from which to read.

quotas
XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas

Las cuotas que se aplican al lector.The quotas applied to the reader.

Devoluciones

Comentarios

El lector creado está optimizado para leer texto UTF-8.The reader created is optimized for reading UTF-8 text.

CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

public:
 static System::Xml::XmlDictionaryReader ^ CreateTextReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateTextReader (byte[] buffer, int offset, int count, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateTextReader : byte[] * int * int * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateTextReader (buffer As Byte(), offset As Integer, count As Integer, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

Parámetros

buffer
Byte[]

El búfer del que se lee.The buffer from which to read.

offset
Int32 Int32 Int32 Int32

La posición inicial de la que leer en buffer.The starting position from which to read in buffer.

count
Int32 Int32 Int32 Int32

Número de bytes que se pueden leer de buffer.The number of bytes that can be read from buffer.

quotas
XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas

Las cuotas que se aplican al lector.The quotas applied to the reader.

Devoluciones

Comentarios

El lector creado está optimizado para leer texto UTF-8.The reader created is optimized for reading UTF-8 text.

CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Crea una instancia de XmlDictionaryReader.Creates an instance of XmlDictionaryReader.

public:
 static System::Xml::XmlDictionaryReader ^ CreateTextReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateTextReader (byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateTextReader : byte[] * int * int * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader

Parámetros

buffer
Byte[]

El búfer del que se lee.The buffer from which to read.

offset
Int32 Int32 Int32 Int32

La posición inicial de la que leer en buffer.The starting position from which to read in buffer.

count
Int32 Int32 Int32 Int32

Número de bytes que se pueden leer de buffer.The number of bytes that can be read from buffer.

encoding
Encoding Encoding Encoding Encoding

El objeto Encoding que especifica las propiedades de codificación que se van a aplicar.The Encoding object that specifies the encoding properties to apply.

onClose
OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose

El delegado al que se va a llamar cuando se cierre el lector.The delegate to be called when the reader is closed.

Devoluciones

Comentarios

El lector creado está optimizado para leer texto UTF-8.The reader created is optimized for reading UTF-8 text.

Se aplica a