Edytuj

Udostępnij za pośrednictwem


IXmlBinaryReaderInitializer.SetInput Method

Definition

Reinitializes the binary reader using the given input data.

Overloads

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

Reinitializes the binary reader using the given input stream.

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

Reinitializes the binary reader using the given input buffer.

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

Source:
XmlBinaryReader.cs
Source:
XmlBinaryReader.cs
Source:
XmlBinaryReader.cs

Reinitializes the binary reader using the given input stream.

public:
 void SetInput(System::IO::Stream ^ stream, System::Xml::IXmlDictionary ^ dictionary, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::XmlBinaryReaderSession ^ session, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public void SetInput (System.IO.Stream stream, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession? session, System.Xml.OnXmlDictionaryReaderClose? onClose);
public void SetInput (System.IO.Stream stream, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session, System.Xml.OnXmlDictionaryReaderClose onClose);
abstract member SetInput : System.IO.Stream * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas * System.Xml.XmlBinaryReaderSession * System.Xml.OnXmlDictionaryReaderClose -> unit
Public Sub SetInput (stream As Stream, dictionary As IXmlDictionary, quotas As XmlDictionaryReaderQuotas, session As XmlBinaryReaderSession, onClose As OnXmlDictionaryReaderClose)

Parameters

stream
Stream

The stream from which to read.

dictionary
IXmlDictionary

XmlDictionary to use.

onClose
OnXmlDictionaryReaderClose

Delegate to call when the reader is closed.

Applies to

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

Source:
XmlBinaryReader.cs
Source:
XmlBinaryReader.cs
Source:
XmlBinaryReader.cs

Reinitializes the binary reader using the given input buffer.

public:
 void SetInput(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 void SetInput (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary? dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession? session, System.Xml.OnXmlDictionaryReaderClose? onClose);
public void SetInput (byte[] buffer, int offset, int count, System.Xml.IXmlDictionary dictionary, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.XmlBinaryReaderSession session, System.Xml.OnXmlDictionaryReaderClose onClose);
abstract member SetInput : byte[] * int * int * System.Xml.IXmlDictionary * System.Xml.XmlDictionaryReaderQuotas * System.Xml.XmlBinaryReaderSession * System.Xml.OnXmlDictionaryReaderClose -> unit
Public Sub SetInput (buffer As Byte(), offset As Integer, count As Integer, dictionary As IXmlDictionary, quotas As XmlDictionaryReaderQuotas, session As XmlBinaryReaderSession, onClose As OnXmlDictionaryReaderClose)

Parameters

buffer
Byte[]

The buffer from which to read.

offset
Int32

Starting position from which to read in buffer.

count
Int32

Number of bytes that can be read from buffer.

dictionary
IXmlDictionary

XmlDictionary to use.

onClose
OnXmlDictionaryReaderClose

Delegate to call when the reader is closed.

Applies to