XmlDictionaryReader.CreateBinaryReader 方法

定義

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

多載

名稱 Description
CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas)

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

CreateBinaryReader(Stream, XmlDictionaryReaderQuotas)

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas)

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

備註

這些超載會產生一個XmlDictionaryReader 實例,能讀取.NET二進位 XML 格式。

CreateBinaryReader(Byte[], XmlDictionaryReaderQuotas)

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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[]

是閱讀的緩衝區。

quotas
XmlDictionaryReaderQuotas

適用於這項行動的配額。

傳回

XmlDictionaryReader的實例。

例外狀況

buffernull

備註

其他 XmlDictionaryReader 屬性則設定為預設值或 null

適用於

CreateBinaryReader(Stream, XmlDictionaryReaderQuotas)

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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

參數

stream
Stream

閱讀的溪流。

quotas
XmlDictionaryReaderQuotas

適用於這項行動的配額。

傳回

XmlDictionaryReader的實例。

例外狀況

streamnull

備註

其他 XmlDictionaryReader 屬性則設定為預設值或 null

適用於

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas)

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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

參數

stream
Stream

閱讀的溪流。

dictionary
IXmlDictionary

XmlDictionary 用來使用。

quotas
XmlDictionaryReaderQuotas

適用於這項行動的配額。

傳回

XmlDictionaryReader的實例。

例外狀況

streamquotasnull

備註

其他 XmlDictionaryReader 屬性則設定為預設值或 null

適用於

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

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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[]

是閱讀的緩衝區。

offset
Int32

讀取 的起始位置 buffer

count
Int32

可從 讀取 buffer的位元組數。

quotas
XmlDictionaryReaderQuotas

適用於這項行動的配額。

傳回

XmlDictionaryReader的實例。

例外狀況

buffernull

count 小於零或大於緩衝區長度減去偏移量。

-或-

offset 小於零或大於緩衝區長度。

備註

其他 XmlDictionaryReader 屬性則設定為預設值或 null

適用於

CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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

參數

stream
Stream

閱讀的溪流。

dictionary
IXmlDictionary

XmlDictionary 用來使用。

quotas
XmlDictionaryReaderQuotas

適用於這項行動的配額。

傳回

XmlDictionaryReader的實例。

例外狀況

streamnull

備註

其他 XmlDictionaryReader 屬性則設定為預設值或 null

適用於

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

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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[]

是閱讀的緩衝區。

offset
Int32

讀取 的起始位置 buffer

count
Int32

可從 讀取 buffer的位元組數。

dictionary
IXmlDictionary

XmlDictionary 用來使用。

quotas
XmlDictionaryReaderQuotas

適用於這項行動的配額。

傳回

XmlDictionaryReader的實例。

例外狀況

buffernull

-或-

offset 小於零或大於緩衝區長度。

count 小於零或大於緩衝區長度減去偏移量。

備註

其他 XmlDictionaryReader 屬性則設定為預設值或 null

適用於

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

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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

參數

stream
Stream

閱讀的溪流。

dictionary
IXmlDictionary

XmlDictionary 用來使用。

onClose
OnXmlDictionaryReaderClose

當讀者關閉時,請委派通知。

傳回

XmlDictionaryReader的實例。

例外狀況

streamnull

備註

其他 XmlDictionaryReader 屬性則設定為預設值或 null

適用於

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

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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[]

是閱讀的緩衝區。

offset
Int32

讀取 的起始位置 buffer

count
Int32

可從 讀取 buffer的位元組數。

dictionary
IXmlDictionary

使用。XmlDictionary

傳回

XmlDictionaryReader的實例。

例外狀況

buffernull

count 小於零或大於緩衝區長度減去偏移量。

-或-

offset 小於零或大於緩衝區長度。

備註

其他 XmlDictionaryReader 屬性則設定為預設值或 null

適用於

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

建立一個可讀取二進位 XML 格式.NETXmlDictionaryReader實例。

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[]

是閱讀的緩衝區。

offset
Int32

讀取 的起始位置 buffer

count
Int32

可從 讀取 buffer的位元組數。

dictionary
IXmlDictionary

使用。XmlDictionary

onClose
OnXmlDictionaryReaderClose

當讀者關閉時,請委派通知。

傳回

XmlDictionaryReader的實例。

例外狀況

buffernull

count 小於零或大於緩衝區長度減去偏移量。

-或-

offset 小於零或大於緩衝區長度。

備註

其他 XmlDictionaryReader 屬性則設定為預設值或 null

適用於