IXmlTextReaderInitializer.SetInput 方法

定義

規範實作此方法的 XML 文字閱讀器初始化要求。

多載

名稱 Description
SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

規範讀取串流的 XML 文字閱讀器的初始化要求。

SetInput(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

規範讀取緩衝區的 XML 文字讀取器的初始化要求。

SetInput(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

來源:
XmlUTF8TextReader.cs
來源:
XmlUTF8TextReader.cs
來源:
XmlUTF8TextReader.cs
來源:
XmlUTF8TextReader.cs
來源:
XmlUTF8TextReader.cs

規範讀取串流的 XML 文字閱讀器的初始化要求。

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

參數

stream
Stream

閱讀的溪流。

encoding
Encoding

串流的字元編碼。

onClose
OnXmlDictionaryReaderClose

當朗讀結束時,請請代表出席。

適用於

SetInput(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

來源:
XmlUTF8TextReader.cs
來源:
XmlUTF8TextReader.cs
來源:
XmlUTF8TextReader.cs
來源:
XmlUTF8TextReader.cs
來源:
XmlUTF8TextReader.cs

規範讀取緩衝區的 XML 文字讀取器的初始化要求。

public:
 void SetInput(cli::array <System::Byte> ^ buffer, int offset, int count, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public void SetInput(byte[] buffer, int offset, int count, System.Text.Encoding? encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose? onClose);
public void SetInput(byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose);
abstract member SetInput : byte[] * int * int * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas * System.Xml.OnXmlDictionaryReaderClose -> unit
Public Sub SetInput (buffer As Byte(), offset As Integer, count As Integer, encoding As Encoding, quotas As XmlDictionaryReaderQuotas, onClose As OnXmlDictionaryReaderClose)

參數

buffer
Byte[]

是閱讀的緩衝區。

offset
Int32

讀取 的起始位置 buffer

count
Int32

可從 讀取 buffer的位元組數。

encoding
Encoding

串流的字元編碼。

onClose
OnXmlDictionaryReaderClose

當朗讀結束時,請請代表出席。

適用於