Partage via


IXmlTextReaderInitializer.SetInput Méthode

Définition

Spécifie les initialisations nécessaires pour les lecteurs de texte XML qui implémentent cette méthode.

Surcharges

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Spécifie les initialisations nécessaires pour les lecteurs de texte XML qui lisent un flux.

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

Spécifie les initialisations nécessaires pour les lecteurs de texte XML qui lisent une mémoire tampon.

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Spécifie les initialisations nécessaires pour les lecteurs de texte XML qui lisent un flux.

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)

Paramètres

stream
Stream

Le flux de données à partir duquel effectuer la lecture.

encoding
Encoding

L'encodage de caractères du flux.

onClose
OnXmlDictionaryReaderClose

Le délégué à appeler lorsque le lecteur est fermé.

S’applique à

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

Spécifie les initialisations nécessaires pour les lecteurs de texte XML qui lisent une mémoire tampon.

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)

Paramètres

buffer
Byte[]

La mémoire tampon à partir de laquelle effectuer la lecture.

offset
Int32

La position de départ à partir de laquelle effectuer la lecture dans buffer.

count
Int32

Le nombre d'octets pouvant être lus à partir de buffer.

encoding
Encoding

L'encodage de caractères du flux.

onClose
OnXmlDictionaryReaderClose

Le délégué à appeler lorsque le lecteur est fermé.

S’applique à