IXmlTextReaderInitializer.SetInput Méthode

Définition

Spécifie les exigences d’initialisation pour les lecteurs de texte XML qui implémentent cette méthode.

Surcharges

Nom Description
SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Spécifie les exigences d’initialisation pour les lecteurs de texte XML qui lisent un flux.

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

Spécifie les exigences d’initialisation pour les lecteurs de texte XML qui lisent une mémoire tampon.

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

Source:
XmlUTF8TextReader.cs
Source:
XmlUTF8TextReader.cs
Source:
XmlUTF8TextReader.cs
Source:
XmlUTF8TextReader.cs
Source:
XmlUTF8TextReader.cs

Spécifie les exigences d’initialisation 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

Flux à partir duquel lire.

encoding
Encoding

Encodage de caractères du flux.

onClose
OnXmlDictionaryReaderClose

Délégué à appeler lorsque le lecteur est fermé.

S’applique à

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

Source:
XmlUTF8TextReader.cs
Source:
XmlUTF8TextReader.cs
Source:
XmlUTF8TextReader.cs
Source:
XmlUTF8TextReader.cs
Source:
XmlUTF8TextReader.cs

Spécifie les exigences d’initialisation 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[]

Mémoire tampon à partir de laquelle lire.

offset
Int32

Position de départ à partir de laquelle lire .buffer

count
Int32

Nombre d’octets qui peuvent être lus à partir de buffer.

encoding
Encoding

Encodage de caractères du flux.

onClose
OnXmlDictionaryReaderClose

Délégué à appeler lorsque le lecteur est fermé.

S’applique à