IXmlMtomReaderInitializer.SetInput メソッド

定義

このメソッドを実装する XML MTOM リーダーの初期化要件を指定します。

オーバーロード

名前 説明
SetInput(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

ストリームを読み取る XML MTOM リーダーの初期化要件を指定します。

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

バッファーを読み取る XML MTOM リーダーの初期化要件を指定します。

SetInput(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

ストリームを読み取る XML MTOM リーダーの初期化要件を指定します。

public:
 void SetInput(System::IO::Stream ^ stream, cli::array <System::Text::Encoding ^> ^ encodings, System::String ^ contentType, System::Xml::XmlDictionaryReaderQuotas ^ quotas, int maxBufferSize, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public void SetInput(System.IO.Stream stream, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose onClose);
abstract member SetInput : System.IO.Stream * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas * int * System.Xml.OnXmlDictionaryReaderClose -> unit
Public Sub SetInput (stream As Stream, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas, maxBufferSize As Integer, onClose As OnXmlDictionaryReaderClose)

パラメーター

stream
Stream

読み取り元のストリーム。

encodings
Encoding[]

ストリームで使用できる文字エンコーディング。

contentType
String

メッセージの Content-Type。 MIME の種類が読み取り中のドキュメントに存在する場合は、 null できます。

quotas
XmlDictionaryReaderQuotas

リーダーに適用する XmlDictionaryReaderQuotas

maxBufferSize
Int32

バッファーの最大許容サイズ。

onClose
OnXmlDictionaryReaderClose

onClose イベントが発生したときに使用するデリゲート。

適用対象

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

バッファーを読み取る XML MTOM リーダーの初期化要件を指定します。

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

パラメーター

buffer
Byte[]

読み取り元のバッファー。

offset
Int32

bufferで読み取る開始位置。

count
Int32

bufferから読み取ることができるバイト数。

encodings
Encoding[]

入力で使用できる文字エンコーディング。

contentType
String

メッセージの Content-Type。 MIME の種類が読み取り中のドキュメントに存在する場合は、 null できます。

quotas
XmlDictionaryReaderQuotas

リーダーに適用する XmlDictionaryReaderQuotas

maxBufferSize
Int32

バッファーの最大許容サイズ。

onClose
OnXmlDictionaryReaderClose

onClose イベントが発生したときに使用するデリゲート。

適用対象