IXmlTextReaderInitializer.SetInput Metoda

Definice

Určuje požadavky na inicializaci pro čtenáře textu XML, kteří implementují tuto metodu.

Přetížení

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Určuje požadavky na inicializaci pro čtečky textu XML, které čtou datový proud.

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

Určuje požadavky na inicializaci pro čtenáře textu XML, kteří čtou vyrovnávací paměť.

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Určuje požadavky na inicializaci pro čtečky textu XML, které čtou datový proud.

public:
 void SetInput(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public void SetInput (System.IO.Stream stream, System.Text.Encoding? encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose? onClose);
public void SetInput (System.IO.Stream stream, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose);
abstract member SetInput : System.IO.Stream * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas * System.Xml.OnXmlDictionaryReaderClose -> unit
Public Sub SetInput (stream As Stream, encoding As Encoding, quotas As XmlDictionaryReaderQuotas, onClose As OnXmlDictionaryReaderClose)

Parametry

stream
Stream

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

encoding
Encoding

Kódování znaků datového proudu.

onClose
OnXmlDictionaryReaderClose

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

Platí pro

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

Určuje požadavky na inicializaci pro čtenáře textu XML, kteří čtou vyrovnávací paměť.

public:
 void SetInput(cli::array <System::Byte> ^ buffer, int offset, int count, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public void SetInput (byte[] buffer, int offset, int count, System.Text.Encoding? encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose? onClose);
public void SetInput (byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose);
abstract member SetInput : byte[] * int * int * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas * System.Xml.OnXmlDictionaryReaderClose -> unit
Public Sub SetInput (buffer As Byte(), offset As Integer, count As Integer, encoding As Encoding, quotas As XmlDictionaryReaderQuotas, onClose As OnXmlDictionaryReaderClose)

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

Kódování znaků datového proudu.

onClose
OnXmlDictionaryReaderClose

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

Platí pro