XmlDictionaryReader.CreateBinaryReader Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
These overloads create an instance of XmlDictionaryReader that can read .NET Binary XML Format.
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
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
Parameters
- buffer
- Byte[]
The buffer from which to read.
- quotas
- XmlDictionaryReaderQuotas
The quotas that apply to this operation.
Returns
An instance of XmlDictionaryReader.
Exceptions
buffer
is null
.
Remarks
Other XmlDictionaryReader properties are set to default values or null
.
Applies to
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
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
Parameters
- stream
- Stream
The stream from which to read.
- quotas
- XmlDictionaryReaderQuotas
The quotas that apply to this operation.
Returns
An instance of XmlDictionaryReader.
Exceptions
stream
is null
.
Remarks
Other XmlDictionaryReader properties are set to default values or null
.
Applies to
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
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
Parameters
- stream
- Stream
The stream from which to read.
- dictionary
- IXmlDictionary
XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
The quotas that apply to this operation.
Returns
An instance of XmlDictionaryReader.
Exceptions
stream
or quotas
is null
.
Remarks
Other XmlDictionaryReader properties are set to default values or null
.
Applies to
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
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
Parameters
- buffer
- Byte[]
The buffer from which to read.
- offset
- Int32
The starting position from which to read in buffer
.
- count
- Int32
The number of bytes that can be read from buffer
.
- quotas
- XmlDictionaryReaderQuotas
The quotas that apply to this operation.
Returns
An instance of XmlDictionaryReader.
Exceptions
buffer
is null
.
count
is less than zero or greater than the buffer length minus the offset.
-or-
offset
is less than zero or greater than the buffer length.
Remarks
Other XmlDictionaryReader properties are set to default values or null
.
Applies to
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
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
Parameters
- stream
- Stream
The stream from which to read.
- dictionary
- IXmlDictionary
XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
The quotas that apply to this operation.
- session
- XmlBinaryReaderSession
XmlBinaryReaderSession to use.
Returns
An instance of XmlDictionaryReader.
Exceptions
stream
is null
.
Remarks
Other XmlDictionaryReader properties are set to default values or null
.
Applies to
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
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
Parameters
- buffer
- Byte[]
The buffer from which to read.
- offset
- Int32
The starting position from which to read in buffer
.
- count
- Int32
The number of bytes that can be read from buffer
.
- dictionary
- IXmlDictionary
XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
The quotas that apply to this operation.
Returns
An instance of XmlDictionaryReader.
Exceptions
buffer
is null
.
-or-
offset
is less than zero or greater than the buffer length.
count
is less than zero or greater than the buffer length minus the offset.
Remarks
Other XmlDictionaryReader properties are set to default values or null
.
Applies to
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
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
Parameters
- stream
- Stream
The stream from which to read.
- dictionary
- IXmlDictionary
XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
XmlDictionaryReaderQuotas to apply.
- session
- XmlBinaryReaderSession
XmlBinaryReaderSession to use.
- onClose
- OnXmlDictionaryReaderClose
Delegate to be called when the reader is closed.
Returns
An instance of XmlDictionaryReader.
Exceptions
stream
is null
.
Remarks
Other XmlDictionaryReader properties are set to default values or null
.
Applies to
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
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
Parameters
- buffer
- Byte[]
The buffer from which to read.
- offset
- Int32
The starting position from which to read in buffer
.
- count
- Int32
The number of bytes that can be read from buffer
.
- dictionary
- IXmlDictionary
The XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
The XmlDictionaryReaderQuotas to apply.
- session
- XmlBinaryReaderSession
The XmlBinaryReaderSession to use.
Returns
An instance of XmlDictionaryReader.
Exceptions
buffer
is null
.
count
is less than zero or greater than the buffer length minus the offset.
-or-
offset
is less than zero or greater than the buffer length.
Remarks
Other XmlDictionaryReader properties are set to default values or null
.
Applies to
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
CreateBinaryReader(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
- Source:
- XmlDictionaryReader.cs
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
Parameters
- buffer
- Byte[]
The buffer from which to read.
- offset
- Int32
The starting position from which to read in buffer
.
- count
- Int32
The number of bytes that can be read from buffer
.
- dictionary
- IXmlDictionary
The XmlDictionary to use.
- quotas
- XmlDictionaryReaderQuotas
The XmlDictionaryReaderQuotas to apply.
- session
- XmlBinaryReaderSession
The XmlBinaryReaderSession to use.
- onClose
- OnXmlDictionaryReaderClose
Delegate to be called when the reader is closed.
Returns
An instance of XmlDictionaryReader.
Exceptions
buffer
is null
.
count
is less than zero or greater than the buffer length minus the offset.
-or-
offset
is less than zero or greater than the buffer length.
Remarks
Other XmlDictionaryReader properties are set to default values or null
.
Applies to
.NET 9 및 기타 버전
제품 | 버전 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.