XmlDictionaryReader.CreateBinaryReader Método
Definição
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
Sobrecargas
| CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas) |
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format. |
| CreateBinaryReader(Stream, XmlDictionaryReaderQuotas) |
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format. |
| CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas) |
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format. |
| CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) |
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format. |
| CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) |
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format. |
| CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) |
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format. |
| CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) |
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format. |
| CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) |
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format. |
| CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) |
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format. |
Comentários
Essas sobrecargas criam uma instância do XmlDictionaryReader que pode ler o formato XML binário .net.These overloads create an instance of XmlDictionaryReader that can read .NET Binary XML Format.
CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas)
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
public:
static System::Xml::XmlDictionaryReader ^ CreateBinaryReader(cli::array <System::Byte> ^ buffer, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateBinaryReader : byte[] * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateBinaryReader (buffer As Byte(), quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader
Parâmetros
- buffer
- Byte[]
O buffer do qual ler.The buffer from which to read.
- quotas
- XmlDictionaryReaderQuotas
As cotas que se aplicam a essa operação.The quotas that apply to this operation.
Retornos
Uma instância de XmlDictionaryReader.An instance of XmlDictionaryReader.
Exceções
buffer é null.buffer is null.
Comentários
Outras XmlDictionaryReader Propriedades são definidas como valores padrão ou null .Other XmlDictionaryReader properties are set to default values or null.
Aplica-se a
CreateBinaryReader(Stream, XmlDictionaryReaderQuotas)
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
public:
static System::Xml::XmlDictionaryReader ^ CreateBinaryReader(System::IO::Stream ^ stream, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateBinaryReader : System.IO.Stream * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateBinaryReader (stream As Stream, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader
Parâmetros
- stream
- Stream
O fluxo do qual ler.The stream from which to read.
- quotas
- XmlDictionaryReaderQuotas
As cotas que se aplicam a essa operação.The quotas that apply to this operation.
Retornos
Uma instância de XmlDictionaryReader.An instance of XmlDictionaryReader.
Exceções
stream é null.stream is null.
Comentários
Outras XmlDictionaryReader Propriedades são definidas como valores padrão ou null .Other XmlDictionaryReader properties are set to default values or null.
Aplica-se a
CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas)
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
public:
static System::Xml::XmlDictionaryReader ^ CreateBinaryReader(System::IO::Stream ^ stream, System::Xml::IXmlDictionary ^ dictionary, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateBinaryReader : System.IO.Stream * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateBinaryReader (stream As Stream, dictionary As IXmlDictionary, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader
Parâmetros
- stream
- Stream
O fluxo do qual ler.The stream from which to read.
- dictionary
- IXmlDictionary
XmlDictionary a ser usado.XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
As cotas que se aplicam a essa operação.The quotas that apply to this operation.
Retornos
Uma instância de XmlDictionaryReader.An instance of XmlDictionaryReader.
Exceções
stream ou quotas é null.stream or quotas is null.
Comentários
Outras XmlDictionaryReader Propriedades são definidas como valores padrão ou null .Other XmlDictionaryReader properties are set to default values or null.
Aplica-se a
CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
public:
static System::Xml::XmlDictionaryReader ^ CreateBinaryReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateBinaryReader : byte[] * int * int * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateBinaryReader (buffer As Byte(), offset As Integer, count As Integer, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader
Parâmetros
- buffer
- Byte[]
O buffer do qual ler.The buffer from which to read.
- offset
- Int32
A posição inicial da qual será feita a leitura no buffer.The starting position from which to read in buffer.
- count
- Int32
O número de bytes que podem ser lidos de buffer.The number of bytes that can be read from buffer.
- quotas
- XmlDictionaryReaderQuotas
As cotas que se aplicam a essa operação.The quotas that apply to this operation.
Retornos
Uma instância de XmlDictionaryReader.An instance of XmlDictionaryReader.
Exceções
buffer é null.buffer is null.
count é menor que zero ou maior que o tamanho do buffer menos o deslocamento.count is less than zero or greater than the buffer length minus the offset.
- ou --or-
offset é menor que zero ou maior que o tamanho do buffer.offset is less than zero or greater than the buffer length.
Comentários
Outras XmlDictionaryReader Propriedades são definidas como valores padrão ou null .Other XmlDictionaryReader properties are set to default values or null.
Aplica-se a
CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
public:
static System::Xml::XmlDictionaryReader ^ CreateBinaryReader(System::IO::Stream ^ stream, System::Xml::IXmlDictionary ^ dictionary, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::XmlBinaryReaderSession ^ session);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession? session);
static member CreateBinaryReader : System.IO.Stream * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas * System.Xml.XmlBinaryReaderSession -> System.Xml.XmlDictionaryReader
Public Shared Function CreateBinaryReader (stream As Stream, dictionary As IXmlDictionary, quotas As XmlDictionaryReaderQuotas, session As XmlBinaryReaderSession) As XmlDictionaryReader
Parâmetros
- stream
- Stream
O fluxo do qual ler.The stream from which to read.
- dictionary
- IXmlDictionary
XmlDictionary a ser usado.XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
As cotas que se aplicam a essa operação.The quotas that apply to this operation.
- session
- XmlBinaryReaderSession
XmlBinaryReaderSession a ser usado.XmlBinaryReaderSession to use.
Retornos
Uma instância de XmlDictionaryReader.An instance of XmlDictionaryReader.
Exceções
stream é null.stream is null.
Comentários
Outras XmlDictionaryReader Propriedades são definidas como valores padrão ou null .Other XmlDictionaryReader properties are set to default values or null.
Aplica-se a
CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas)
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
public:
static System::Xml::XmlDictionaryReader ^ CreateBinaryReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Xml::IXmlDictionary ^ dictionary, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateBinaryReader : byte[] * int * int * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateBinaryReader (buffer As Byte(), offset As Integer, count As Integer, dictionary As IXmlDictionary, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader
Parâmetros
- buffer
- Byte[]
O buffer do qual ler.The buffer from which to read.
- offset
- Int32
A posição inicial da qual será feita a leitura no buffer.The starting position from which to read in buffer.
- count
- Int32
O número de bytes que podem ser lidos de buffer.The number of bytes that can be read from buffer.
- dictionary
- IXmlDictionary
XmlDictionary a ser usado.XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
As cotas que se aplicam a essa operação.The quotas that apply to this operation.
Retornos
Uma instância de XmlDictionaryReader.An instance of XmlDictionaryReader.
Exceções
buffer é null.buffer is null.
- ou --or-
offset é menor que zero ou maior que o tamanho do buffer.offset is less than zero or greater than the buffer length.
count é menor que zero ou maior que o tamanho do buffer menos o deslocamento.count is less than zero or greater than the buffer length minus the offset.
Comentários
Outras XmlDictionaryReader Propriedades são definidas como valores padrão ou null .Other XmlDictionaryReader properties are set to default values or null.
Aplica-se a
CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
public:
static System::Xml::XmlDictionaryReader ^ CreateBinaryReader(System::IO::Stream ^ stream, System::Xml::IXmlDictionary ^ dictionary, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::XmlBinaryReaderSession ^ session, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession? session, System.Xml.OnXmlDictionaryReaderClose? onClose);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateBinaryReader : System.IO.Stream * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas * System.Xml.XmlBinaryReaderSession * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader
Public Shared Function CreateBinaryReader (stream As Stream, dictionary As IXmlDictionary, quotas As XmlDictionaryReaderQuotas, session As XmlBinaryReaderSession, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader
Parâmetros
- stream
- Stream
O fluxo do qual ler.The stream from which to read.
- dictionary
- IXmlDictionary
XmlDictionary a ser usado.XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
XmlDictionaryReaderQuotas a ser aplicado.XmlDictionaryReaderQuotas to apply.
- session
- XmlBinaryReaderSession
XmlBinaryReaderSession a ser usado.XmlBinaryReaderSession to use.
- onClose
- OnXmlDictionaryReaderClose
O delegado a ser chamado quando o leitor está fechado.Delegate to be called when the reader is closed.
Retornos
Uma instância de XmlDictionaryReader.An instance of XmlDictionaryReader.
Exceções
stream é null.stream is null.
Comentários
Outras XmlDictionaryReader Propriedades são definidas como valores padrão ou null .Other XmlDictionaryReader properties are set to default values or null.
Aplica-se a
CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
public:
static System::Xml::XmlDictionaryReader ^ CreateBinaryReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Xml::IXmlDictionary ^ dictionary, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::XmlBinaryReaderSession ^ session);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession? session);
static member CreateBinaryReader : byte[] * int * int * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas * System.Xml.XmlBinaryReaderSession -> System.Xml.XmlDictionaryReader
Public Shared Function CreateBinaryReader (buffer As Byte(), offset As Integer, count As Integer, dictionary As IXmlDictionary, quotas As XmlDictionaryReaderQuotas, session As XmlBinaryReaderSession) As XmlDictionaryReader
Parâmetros
- buffer
- Byte[]
O buffer do qual ler.The buffer from which to read.
- offset
- Int32
A posição inicial da qual será feita a leitura no buffer.The starting position from which to read in buffer.
- count
- Int32
O número de bytes que podem ser lidos de buffer.The number of bytes that can be read from buffer.
- dictionary
- IXmlDictionary
O XmlDictionary a ser usado.The XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
O XmlDictionaryReaderQuotas a ser aplicado.The XmlDictionaryReaderQuotas to apply.
- session
- XmlBinaryReaderSession
O XmlBinaryReaderSession a ser usado.The XmlBinaryReaderSession to use.
Retornos
Uma instância de XmlDictionaryReader.An instance of XmlDictionaryReader.
Exceções
buffer é null.buffer is null.
count é menor que zero ou maior que o tamanho do buffer menos o deslocamento.count is less than zero or greater than the buffer length minus the offset.
- ou --or-
offset é menor que zero ou maior que o tamanho do buffer.offset is less than zero or greater than the buffer length.
Comentários
Outras XmlDictionaryReader Propriedades são definidas como valores padrão ou null .Other XmlDictionaryReader properties are set to default values or null.
Aplica-se a
CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)
Cria uma instância de XmlDictionaryReader que possa ler o Formato XML Binário do .NET.Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
public:
static System::Xml::XmlDictionaryReader ^ CreateBinaryReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Xml::IXmlDictionary ^ dictionary, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::XmlBinaryReaderSession ^ session, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession? session, System.Xml.OnXmlDictionaryReaderClose? onClose);
public static System.Xml.XmlDictionaryReader CreateBinaryReader (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateBinaryReader : byte[] * int * int * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas * System.Xml.XmlBinaryReaderSession * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader
Public Shared Function CreateBinaryReader (buffer As Byte(), offset As Integer, count As Integer, dictionary As IXmlDictionary, quotas As XmlDictionaryReaderQuotas, session As XmlBinaryReaderSession, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader
Parâmetros
- buffer
- Byte[]
O buffer do qual ler.The buffer from which to read.
- offset
- Int32
A posição inicial da qual será feita a leitura no buffer.The starting position from which to read in buffer.
- count
- Int32
O número de bytes que podem ser lidos de buffer.The number of bytes that can be read from buffer.
- dictionary
- IXmlDictionary
O XmlDictionary a ser usado.The XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
O XmlDictionaryReaderQuotas a ser aplicado.The XmlDictionaryReaderQuotas to apply.
- session
- XmlBinaryReaderSession
O XmlBinaryReaderSession a ser usado.The XmlBinaryReaderSession to use.
- onClose
- OnXmlDictionaryReaderClose
O delegado a ser chamado quando o leitor está fechado.Delegate to be called when the reader is closed.
Retornos
Uma instância de XmlDictionaryReader.An instance of XmlDictionaryReader.
Exceções
buffer é null.buffer is null.
count é menor que zero ou maior que o tamanho do buffer menos o deslocamento.count is less than zero or greater than the buffer length minus the offset.
- ou --or-
offset é menor que zero ou maior que o tamanho do buffer.offset is less than zero or greater than the buffer length.
Comentários
Outras XmlDictionaryReader Propriedades são definidas como valores padrão ou null .Other XmlDictionaryReader properties are set to default values or null.