XmlDictionaryReader.CreateTextReader Metoda

Definicja

Tworzy wystąpienie klasy XmlDictionaryReader.

Przeciążenia

CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Tworzy wystąpienie klasy XmlDictionaryReader.

CreateTextReader(Byte[], XmlDictionaryReaderQuotas)

Tworzy wystąpienie klasy XmlDictionaryReader.

CreateTextReader(Stream, XmlDictionaryReaderQuotas)

Tworzy wystąpienie klasy XmlDictionaryReader.

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

Tworzy wystąpienie klasy XmlDictionaryReader.

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

Tworzy wystąpienie klasy XmlDictionaryReader.

Uwagi

Te przeciążenia tworzą wystąpienie klasy XmlDictionaryReader.

CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Tworzy wystąpienie klasy 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

Parametry

stream
Stream

Strumień, z którego ma być odczytywany.

encoding
Encoding

Obiekt Encoding , który określa właściwości kodowania do zastosowania.

quotas
XmlDictionaryReaderQuotas

Element XmlDictionaryReaderQuotas do zastosowania.

onClose
OnXmlDictionaryReaderClose

Delegat, który ma być wywoływany po zamknięciu czytnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Uwagi

Utworzony czytnik jest zoptymalizowany pod kątem odczytywania tekstu UTF-8.

Dotyczy

CreateTextReader(Byte[], XmlDictionaryReaderQuotas)

Tworzy wystąpienie klasy 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

Parametry

buffer
Byte[]

Bufor, z którego ma być odczytywany.

quotas
XmlDictionaryReaderQuotas

Przydziały zastosowane do czytnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Wyjątki

buffer to null.

Uwagi

Utworzony czytnik jest zoptymalizowany pod kątem odczytywania tekstu UTF-8.

Dotyczy

CreateTextReader(Stream, XmlDictionaryReaderQuotas)

Tworzy wystąpienie klasy 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

Parametry

stream
Stream

Strumień, z którego ma być odczytywany.

quotas
XmlDictionaryReaderQuotas

Przydziały zastosowane do czytnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Uwagi

Utworzony czytnik jest zoptymalizowany pod kątem odczytywania tekstu UTF-8.

Dotyczy

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

Tworzy wystąpienie klasy 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

Parametry

buffer
Byte[]

Bufor, z którego ma być odczytywany.

offset
Int32

Pozycja początkowa, z której ma być odczytywana w bufferpliku .

count
Int32

Liczba bajtów, które można odczytać z .buffer

quotas
XmlDictionaryReaderQuotas

Przydziały zastosowane do czytnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Uwagi

Utworzony czytnik jest zoptymalizowany pod kątem odczytywania tekstu UTF-8.

Dotyczy

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

Tworzy wystąpienie klasy 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

Parametry

buffer
Byte[]

Bufor, z którego ma być odczytywany.

offset
Int32

Pozycja początkowa, z której ma być odczytywana w bufferpliku .

count
Int32

Liczba bajtów, które można odczytać z .buffer

encoding
Encoding

Obiekt Encoding , który określa właściwości kodowania do zastosowania.

quotas
XmlDictionaryReaderQuotas

Element XmlDictionaryReaderQuotas do zastosowania.

onClose
OnXmlDictionaryReaderClose

Delegat, który ma być wywoływany po zamknięciu czytnika.

Zwraca

XmlDictionaryReader

Wystąpienie elementu XmlDictionaryReader.

Uwagi

Utworzony czytnik jest zoptymalizowany pod kątem odczytywania tekstu UTF-8.

Dotyczy