IXmlMtomReaderInitializer.SetInput Metoda

Definice

Určuje požadavky na inicializaci pro čtenáře XML MTOM, které implementují tuto metodu.

Přetížení

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

Určuje požadavky na inicializaci pro čtečky XML MTOM, které čtou datový proud.

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

Určuje požadavky na inicializaci pro čtečky XML MTOM, které čtou vyrovnávací paměť.

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

Určuje požadavky na inicializaci pro čtečky XML MTOM, které čtou datový proud.

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)

Parametry

stream
Stream

Datový proud, ze kterého se má číst.

encodings
Encoding[]

Možné kódování znaků datového proudu.

contentType
String

Typ obsahu zprávy. Může to být null , pokud je typ MIME v dokumentu, který se čte.

quotas
XmlDictionaryReaderQuotas

To XmlDictionaryReaderQuotas platí pro čtenáře.

maxBufferSize
Int32

Maximální povolená velikost vyrovnávací paměti.

onClose
OnXmlDictionaryReaderClose

Delegát, který se má použít, když dojde k onClose události.

Platí pro

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

Určuje požadavky na inicializaci pro čtečky XML MTOM, které čtou vyrovnávací paměť.

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)

Parametry

buffer
Byte[]

Vyrovnávací paměť, ze které se má číst.

offset
Int32

Počáteční pozice, ze které se má číst buffer.

count
Int32

Počet bajtů, které lze číst z buffer.

encodings
Encoding[]

Možné kódování znaků vstupu.

contentType
String

Typ obsahu zprávy. Může to být null , pokud je typ MIME v dokumentu, který se čte.

quotas
XmlDictionaryReaderQuotas

To XmlDictionaryReaderQuotas platí pro čtenáře.

maxBufferSize
Int32

Maximální povolená velikost vyrovnávací paměti.

onClose
OnXmlDictionaryReaderClose

Delegát, který se má použít, když dojde k onClose události.

Platí pro