XmlDictionaryReader.CreateTextReader Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une instance de XmlDictionaryReader.
Surcharges
| Nom | Description |
|---|---|
| CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) |
Crée une instance de XmlDictionaryReader. |
| CreateTextReader(Byte[], XmlDictionaryReaderQuotas) |
Crée une instance de XmlDictionaryReader. |
| CreateTextReader(Stream, XmlDictionaryReaderQuotas) |
Crée une instance de XmlDictionaryReader. |
| CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) |
Crée une instance de XmlDictionaryReader. |
| CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) |
Crée une instance de XmlDictionaryReader. |
Remarques
Ces surcharges créent une instance de XmlDictionaryReader.
CreateTextReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Crée une instance de XmlDictionaryReader.
public:
static System::Xml::XmlDictionaryReader ^ CreateTextReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateTextReader(System.IO.Stream stream, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose);
public static System.Xml.XmlDictionaryReader CreateTextReader(System.IO.Stream stream, System.Text.Encoding? encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose? onClose);
static member CreateTextReader : System.IO.Stream * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader
Public Shared Function CreateTextReader (stream As Stream, encoding As Encoding, quotas As XmlDictionaryReaderQuotas, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader
Paramètres
- stream
- Stream
Flux à partir duquel lire.
- quotas
- XmlDictionaryReaderQuotas
À XmlDictionaryReaderQuotas appliquer.
- onClose
- OnXmlDictionaryReaderClose
Délégué à appeler lorsque le lecteur est fermé.
Retours
Instance de XmlDictionaryReader.
Remarques
Le lecteur créé est optimisé pour lire du texte UTF-8.
S’applique à
CreateTextReader(Byte[], XmlDictionaryReaderQuotas)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Crée une instance de XmlDictionaryReader.
public:
static System::Xml::XmlDictionaryReader ^ CreateTextReader(cli::array <System::Byte> ^ buffer, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateTextReader(byte[] buffer, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateTextReader : byte[] * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateTextReader (buffer As Byte(), quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader
Paramètres
- buffer
- Byte[]
Mémoire tampon à partir de laquelle lire.
- quotas
- XmlDictionaryReaderQuotas
Quotas appliqués au lecteur.
Retours
Instance de XmlDictionaryReader.
Exceptions
buffer a la valeur null.
Remarques
Le lecteur créé est optimisé pour lire du texte UTF-8.
S’applique à
CreateTextReader(Stream, XmlDictionaryReaderQuotas)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Crée une instance de XmlDictionaryReader.
public:
static System::Xml::XmlDictionaryReader ^ CreateTextReader(System::IO::Stream ^ stream, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateTextReader(System.IO.Stream stream, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateTextReader : System.IO.Stream * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateTextReader (stream As Stream, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader
Paramètres
- stream
- Stream
Flux à partir duquel lire.
- quotas
- XmlDictionaryReaderQuotas
Quotas appliqués au lecteur.
Retours
Instance de XmlDictionaryReader.
Remarques
Le lecteur créé est optimisé pour lire du texte UTF-8.
S’applique à
CreateTextReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Crée une instance de XmlDictionaryReader.
public:
static System::Xml::XmlDictionaryReader ^ CreateTextReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateTextReader : byte[] * int * int * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateTextReader (buffer As Byte(), offset As Integer, count As Integer, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader
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.
- quotas
- XmlDictionaryReaderQuotas
Quotas appliqués au lecteur.
Retours
Instance de XmlDictionaryReader.
Remarques
Le lecteur créé est optimisé pour lire du texte UTF-8.
S’applique à
CreateTextReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
Crée une instance de XmlDictionaryReader.
public:
static System::Xml::XmlDictionaryReader ^ CreateTextReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count, System.Text.Encoding? encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose? onClose);
public static System.Xml.XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateTextReader : byte[] * int * int * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader
Public Shared Function CreateTextReader (buffer As Byte(), offset As Integer, count As Integer, encoding As Encoding, quotas As XmlDictionaryReaderQuotas, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader
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.
- quotas
- XmlDictionaryReaderQuotas
À XmlDictionaryReaderQuotas appliquer.
- onClose
- OnXmlDictionaryReaderClose
Délégué à appeler lorsque le lecteur est fermé.
Retours
Instance de XmlDictionaryReader.
Remarques
Le lecteur créé est optimisé pour lire du texte UTF-8.