XmlDictionaryReader.CreateBinaryReader XmlDictionaryReader.CreateBinaryReader XmlDictionaryReader.CreateBinaryReader XmlDictionaryReader.CreateBinaryReader Method

定义

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

重载

CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Stream, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.

注解

这些重载将创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。These overloads create an instance of XmlDictionaryReader that can read .NET Binary XML Format.

CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。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

参数

buffer
Byte[]

要从其中读取数据的缓冲区。The buffer from which to read.

quotas
XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas

应用于此操作的配额。The quotas that apply to this operation.

返回

异常

注解

其他 XmlDictionaryReader 属性设置为默认值或 nullOther XmlDictionaryReader properties are set to default values or null.

CreateBinaryReader(Stream, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。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

参数

stream
Stream Stream Stream Stream

要从其中读取数据的流。The stream from which to read.

quotas
XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas

应用于此操作的配额。The quotas that apply to this operation.

返回

异常

注解

其他 XmlDictionaryReader 属性设置为默认值或 nullOther XmlDictionaryReader properties are set to default values or null.

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。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);
static member CreateBinaryReader : System.IO.Stream * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader

参数

stream
Stream Stream Stream Stream

要从其中读取数据的流。The stream from which to read.

quotas
XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas

应用于此操作的配额。The quotas that apply to this operation.

返回

异常

streamquotasnullstream or quotas is null.

注解

其他 XmlDictionaryReader 属性设置为默认值或 nullOther XmlDictionaryReader properties are set to default values or null.

CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。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

参数

buffer
Byte[]

要从其中读取数据的缓冲区。The buffer from which to read.

offset
Int32 Int32 Int32 Int32

buffer 中开始读取数据的位置。The starting position from which to read in buffer.

count
Int32 Int32 Int32 Int32

可以从 buffer 中读取的字节数。The number of bytes that can be read from buffer.

quotas
XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas

应用于此操作的配额。The quotas that apply to this operation.

返回

异常

count 小于零或大于缓冲区长度减偏移量。count is less than zero or greater than the buffer length minus the offset.

-or-

offset 小于零或大于缓冲区长度。offset is less than zero or greater than the buffer length.

注解

其他 XmlDictionaryReader 属性设置为默认值或 nullOther XmlDictionaryReader properties are set to default values or null.

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。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);
static member CreateBinaryReader : System.IO.Stream * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas * System.Xml.XmlBinaryReaderSession -> System.Xml.XmlDictionaryReader

参数

stream
Stream Stream Stream Stream

要从其中读取数据的流。The stream from which to read.

quotas
XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas

应用于此操作的配额。The quotas that apply to this operation.

返回

异常

注解

其他 XmlDictionaryReader 属性设置为默认值或 nullOther XmlDictionaryReader properties are set to default values or null.

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。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);
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

参数

buffer
Byte[]

要从其中读取数据的缓冲区。The buffer from which to read.

offset
Int32 Int32 Int32 Int32

buffer 中开始读取数据的位置。The starting position from which to read in buffer.

count
Int32 Int32 Int32 Int32

可以从 buffer 中读取的字节数。The number of bytes that can be read from buffer.

quotas
XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas XmlDictionaryReaderQuotas

应用于此操作的配额。The quotas that apply to this operation.

返回

异常

buffernullbuffer is null.

-or-

offset 小于零或大于缓冲区长度。offset is less than zero or greater than the buffer length.

count 小于零或大于缓冲区长度减偏移量。count is less than zero or greater than the buffer length minus the offset.

注解

其他 XmlDictionaryReader 属性设置为默认值或 nullOther XmlDictionaryReader properties are set to default values or null.

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。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);
static member CreateBinaryReader : System.IO.Stream * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas * System.Xml.XmlBinaryReaderSession * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader

参数

stream
Stream Stream Stream Stream

要从其中读取数据的流。The stream from which to read.

onClose
OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose

要在关闭读取器时调用的委托。Delegate to be called when the reader is closed.

返回

异常

注解

其他 XmlDictionaryReader 属性设置为默认值或 nullOther XmlDictionaryReader properties are set to default values or null.

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。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);
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

参数

buffer
Byte[]

要从其中读取数据的缓冲区。The buffer from which to read.

offset
Int32 Int32 Int32 Int32

buffer 中开始读取数据的位置。The starting position from which to read in buffer.

count
Int32 Int32 Int32 Int32

可以从 buffer 中读取的字节数。The number of bytes that can be read from buffer.

返回

异常

count 小于零或大于缓冲区长度减偏移量。count is less than zero or greater than the buffer length minus the offset.

- 或 --or-

offset 小于零或大于缓冲区长度。offset is less than zero or greater than the buffer length.

注解

其他 XmlDictionaryReader 属性设置为默认值或 nullOther XmlDictionaryReader properties are set to default values or null.

CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

创建可读取 .NET 二进制 XML 格式的 XmlDictionaryReader 的实例。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);
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

参数

buffer
Byte[]

要从其中读取数据的缓冲区。The buffer from which to read.

offset
Int32 Int32 Int32 Int32

buffer 中开始读取数据的位置。The starting position from which to read in buffer.

count
Int32 Int32 Int32 Int32

可以从 buffer 中读取的字节数。The number of bytes that can be read from buffer.

onClose
OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose OnXmlDictionaryReaderClose

要在关闭读取器时调用的委托。Delegate to be called when the reader is closed.

返回

异常

count 小于零或大于缓冲区长度减偏移量。count is less than zero or greater than the buffer length minus the offset.

-or-

offset 小于零或大于缓冲区长度。offset is less than zero or greater than the buffer length.

注解

其他 XmlDictionaryReader 属性设置为默认值或 nullOther XmlDictionaryReader properties are set to default values or null.

适用于