IXmlTextReaderInitializer.SetInput Metoda

Definicja

Określa wymagania dotyczące inicjowania dla czytników tekstu XML, które implementują tę metodę.

Przeciążenia

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Określa wymagania dotyczące inicjowania czytników tekstu XML, które odczytują strumień.

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

Określa wymagania dotyczące inicjowania czytników tekstu XML, które odczytują bufor.

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Określa wymagania dotyczące inicjowania czytników tekstu XML, które odczytują strumień.

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

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

encoding
Encoding

Kodowanie znaków strumienia.

quotas
XmlDictionaryReaderQuotas

Element XmlDictionaryReaderQuotas do zastosowania.

onClose
OnXmlDictionaryReaderClose

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

Dotyczy

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

Określa wymagania dotyczące inicjowania czytników tekstu XML, które odczytują bufor.

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[]

Bufor, z którego ma być odczytywany.

offset
Int32

Pozycja początkowa, z której mają być odczytywane w bufferpliku .

count
Int32

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

encoding
Encoding

Kodowanie znaków strumienia.

quotas
XmlDictionaryReaderQuotas

Element XmlDictionaryReaderQuotas do zastosowania.

onClose
OnXmlDictionaryReaderClose

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

Dotyczy