IXmlMtomReaderInitializer.SetInput Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Anger initieringskrav för XML MTOM-läsare som implementerar den här metoden.
Överlagringar
| Name | Description |
|---|---|
| SetInput(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose) |
Anger initieringskrav för XML MTOM-läsare som läser en dataström. |
| SetInput(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose) |
Anger initieringskrav för XML MTOM-läsare som läser en buffert. |
SetInput(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)
Anger initieringskrav för XML MTOM-läsare som läser en dataström.
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)
Parametrar
- stream
- Stream
Strömmen som ska läsas från.
- encodings
- Encoding[]
Möjliga teckenkodningar för strömmen.
- contentType
- String
Meddelandets innehållstyp. Kan vara null om MIME-typen finns i dokumentet som läse.
- quotas
- XmlDictionaryReaderQuotas
Att XmlDictionaryReaderQuotas gälla för läsaren.
- maxBufferSize
- Int32
Buffertens maximala tillåtna storlek.
- onClose
- OnXmlDictionaryReaderClose
Ombudet som ska användas när en onClose händelse inträffar.
Gäller för
SetInput(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)
Anger initieringskrav för XML MTOM-läsare som läser en buffert.
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)
Parametrar
- buffer
- Byte[]
Bufferten som ska läsas från.
- offset
- Int32
Startpositionen som ska läsas i buffer.
- count
- Int32
Antalet byte som kan läsas från buffer.
- encodings
- Encoding[]
Möjliga teckenkodningar för indata.
- contentType
- String
Meddelandets innehållstyp. Kan vara null om MIME-typen finns i dokumentet som läse.
- quotas
- XmlDictionaryReaderQuotas
Att XmlDictionaryReaderQuotas gälla för läsaren.
- maxBufferSize
- Int32
Buffertens maximala tillåtna storlek.
- onClose
- OnXmlDictionaryReaderClose
Ombudet som ska användas när en onClose händelse inträffar.