XmlDictionaryReader.CreateTextReader Metoda

Definice

Vytvoří instanci .XmlDictionaryReader

Přetížení

CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Vytvoří instanci XmlDictionaryReader.

CreateTextReader(Byte[], XmlDictionaryReaderQuotas)

Vytvoří instanci .XmlDictionaryReader

CreateTextReader(Stream, XmlDictionaryReaderQuotas)

Vytvoří instanci .XmlDictionaryReader

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

Vytvoří instanci .XmlDictionaryReader

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

Vytvoří instanci XmlDictionaryReader.

Poznámky

Tyto přetížení vytvoří instanci XmlDictionaryReader.

CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Vytvoří instanci 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

Datový proud, ze kterého se má číst.

encoding
Encoding

Objekt Encoding , který určuje vlastnosti kódování, které se mají použít.

onClose
OnXmlDictionaryReaderClose

Delegát, který má být volána při zavření čtenáře.

Návraty

XmlDictionaryReader

Instance XmlDictionaryReader.

Poznámky

Čtečka je optimalizovaná pro čtení textu UTF-8.

Platí pro

CreateTextReader(Byte[], XmlDictionaryReaderQuotas)

Vytvoří instanci .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[]

Vyrovnávací paměť, ze které se má číst.

quotas
XmlDictionaryReaderQuotas

Kvóty použité pro čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Výjimky

buffer je null.

Poznámky

Čtečka vytvořená je optimalizovaná pro čtení textu UTF-8.

Platí pro

CreateTextReader(Stream, XmlDictionaryReaderQuotas)

Vytvoří instanci .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

Datový proud, ze kterého se má číst.

quotas
XmlDictionaryReaderQuotas

Kvóty použité pro čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Poznámky

Čtečka vytvořená je optimalizovaná pro čtení textu UTF-8.

Platí pro

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

Vytvoří instanci .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[]

Vyrovnávací paměť, ze které se má číst.

offset
Int32

Počáteční pozice, ze které se má číst buffer.

count
Int32

Počet bajtů, které lze číst z buffer.

quotas
XmlDictionaryReaderQuotas

Kvóty použité pro čtenáře.

Návraty

XmlDictionaryReader

Instance .XmlDictionaryReader

Poznámky

Čtečka vytvořená je optimalizovaná pro čtení textu UTF-8.

Platí pro

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

Vytvoří instanci 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[]

Vyrovnávací paměť, ze které se má číst.

offset
Int32

Počáteční pozice, ze které se má číst buffer.

count
Int32

Počet bajtů, které lze číst z buffer.

encoding
Encoding

Objekt Encoding , který určuje vlastnosti kódování, které se mají použít.

onClose
OnXmlDictionaryReaderClose

Delegát, který má být volána při zavření čtenáře.

Návraty

XmlDictionaryReader

Instance XmlDictionaryReader.

Poznámky

Čtečka je optimalizovaná pro čtení textu UTF-8.

Platí pro