IXmlTextReaderInitializer.SetInput Metodo

Definizione

Specifica i requisiti di inizializzazione per i reader di testo XML che implementano questo metodo.

Overload

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Specifica i requisiti di inizializzazione per i reader di testo XML che leggono un flusso.

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

Specifica i requisiti di inizializzazione per i reader di testo XML che leggono un buffer.

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Specifica i requisiti di inizializzazione per i reader di testo XML che leggono un flusso.

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)

Parametri

stream
Stream

Il flusso da cui eseguire la lettura.

encoding
Encoding

Codifica dei caratteri del flusso.

onClose
OnXmlDictionaryReaderClose

Delegato da chiamare quando il reader viene chiuso.

Si applica a

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

Specifica i requisiti di inizializzazione per i reader di testo XML che leggono un buffer.

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)

Parametri

buffer
Byte[]

Il buffer da cui eseguire la lettura.

offset
Int32

Posizione iniziale dalla quale leggere nel buffer.

count
Int32

Numero di byte che possono essere letti dal buffer.

encoding
Encoding

Codifica dei caratteri del flusso.

onClose
OnXmlDictionaryReaderClose

Delegato da chiamare quando il reader viene chiuso.

Si applica a