IXmlBinaryReaderInitializer.SetInput 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
利用給定的輸入資料重新初始化二進位讀取器。
多載
| 名稱 | Description |
|---|---|
| SetInput(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) |
使用給定的輸入串流重新初始化二進位讀取器。 |
| SetInput(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose) |
使用給定的輸入緩衝區重新初始化二進位讀取器。 |
SetInput(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)
使用給定的輸入串流重新初始化二進位讀取器。
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 用來使用。
- session
- XmlBinaryReaderSession
XmlBinaryReaderSession 用來使用。
- onClose
- OnXmlDictionaryReaderClose
請委託人在讀書室關閉時致電。
適用於
SetInput(Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)
使用給定的輸入緩衝區重新初始化二進位讀取器。
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 用來使用。
- session
- XmlBinaryReaderSession
XmlBinaryReaderSession 用來使用。
- onClose
- OnXmlDictionaryReaderClose
請委託人在讀書室關閉時致電。