IXmlTextReaderInitializer.SetInput Metoda

Definicja

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

Przeciążenia

Nazwa Opis
SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Określa wymagania inicjowania dla czytników tekstu XML odczytujących strumień.

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

Określa wymagania inicjowania dla czytników tekstu XML odczytujących bufor.

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Źródło:
XmlUTF8TextReader.cs
Źródło:
XmlUTF8TextReader.cs
Źródło:
XmlUTF8TextReader.cs
Źródło:
XmlUTF8TextReader.cs
Źródło:
XmlUTF8TextReader.cs

Określa wymagania inicjowania dla czytników tekstu XML odczytujących 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)

Źródło:
XmlUTF8TextReader.cs
Źródło:
XmlUTF8TextReader.cs
Źródło:
XmlUTF8TextReader.cs
Źródło:
XmlUTF8TextReader.cs
Źródło:
XmlUTF8TextReader.cs

Określa wymagania inicjowania dla czytników tekstu XML odczytujących 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