IXmlBinaryReaderInitializer.SetInput 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用给定的输入数据重新初始化二进制读取器。
重载
SetInput(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)
- Source:
- XmlBinaryReader.cs
- Source:
- XmlBinaryReader.cs
- Source:
- XmlBinaryReader.cs
- Source:
- XmlBinaryReader.cs
- Source:
- XmlBinaryReader.cs
使用给定的输入流重新初始化二进制读取器。
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)
参数
- stream
- Stream
要从中读取的流。
- dictionary
- IXmlDictionary
XmlDictionary 要使用的。
- quotas
- XmlDictionaryReaderQuotas
- session
- XmlBinaryReaderSession
XmlBinaryReaderSession 要使用的。
- onClose
- OnXmlDictionaryReaderClose
读取器关闭时要调用的委托。
适用于
SetInput(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)
- Source:
- XmlBinaryReader.cs
- Source:
- XmlBinaryReader.cs
- Source:
- XmlBinaryReader.cs
- Source:
- XmlBinaryReader.cs
- Source:
- XmlBinaryReader.cs
使用给定的输入缓冲区重新初始化二进制读取器。
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)
参数
- buffer
- Byte[]
要从中读取的缓冲区。
- offset
- Int32
要从中读取 buffer的起始位置。
- count
- Int32
可从中读取 buffer的字节数。
- dictionary
- IXmlDictionary
XmlDictionary 要使用的。
- quotas
- XmlDictionaryReaderQuotas
- session
- XmlBinaryReaderSession
XmlBinaryReaderSession 要使用的。
- onClose
- OnXmlDictionaryReaderClose
读取器关闭时要调用的委托。