XmlDictionaryReader.CreateTextReader Método

Definición

Crea una instancia de XmlDictionaryReader.

Sobrecargas

Comentarios

Estas sobrecargas crean una instancia de XmlDictionaryReader.

CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

Crea una instancia de 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);
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
Public Shared Function CreateTextReader (stream As Stream, encoding As Encoding, quotas As XmlDictionaryReaderQuotas, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader

Parámetros

stream
Stream

Secuencia desde la que se va a leer.

encoding
Encoding

Objeto Encoding que especifica las propiedades de codificación que se van a aplicar.

onClose
OnXmlDictionaryReaderClose

Delegado al que se va a llamar cuando se cierra el lector.

Devoluciones

Instancia de XmlDictionaryReader.

Comentarios

El lector creado está optimizado para leer texto UTF-8.

Se aplica a

CreateTextReader(Byte[], XmlDictionaryReaderQuotas)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

Crea una instancia de 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[]

Búfer desde el que se va a leer.

quotas
XmlDictionaryReaderQuotas

Cuotas aplicadas al lector.

Devoluciones

Instancia de XmlDictionaryReader.

Excepciones

buffer es null.

Comentarios

El lector creado está optimizado para leer texto UTF-8.

Se aplica a

CreateTextReader(Stream, XmlDictionaryReaderQuotas)

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

Crea una instancia de 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
Public Shared Function CreateTextReader (stream As Stream, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

Parámetros

stream
Stream

Secuencia desde la que se va a leer.

quotas
XmlDictionaryReaderQuotas

Cuotas aplicadas al lector.

Devoluciones

Instancia de XmlDictionaryReader.

Comentarios

El lector creado está optimizado para leer texto UTF-8.

Se aplica a

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

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

Crea una instancia de 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[]

Búfer desde el que se va a leer.

offset
Int32

Posición inicial desde la que se va a leer en buffer.

count
Int32

Número de bytes que se pueden leer desde buffer.

quotas
XmlDictionaryReaderQuotas

Cuotas aplicadas al lector.

Devoluciones

Instancia de XmlDictionaryReader.

Comentarios

El lector creado está optimizado para leer texto UTF-8.

Se aplica a

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

Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs
Source:
XmlDictionaryReader.cs

Crea una instancia de 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);
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
Public Shared Function CreateTextReader (buffer As Byte(), offset As Integer, count As Integer, encoding As Encoding, quotas As XmlDictionaryReaderQuotas, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader

Parámetros

buffer
Byte[]

Búfer desde el que se va a leer.

offset
Int32

Posición inicial desde la que se va a leer en buffer.

count
Int32

Número de bytes que se pueden leer desde buffer.

encoding
Encoding

Objeto Encoding que especifica las propiedades de codificación que se van a aplicar.

onClose
OnXmlDictionaryReaderClose

Delegado al que se va a llamar cuando se cierra el lector.

Devoluciones

Instancia de XmlDictionaryReader.

Comentarios

El lector creado está optimizado para leer texto UTF-8.

Se aplica a