IXmlTextReaderInitializer::SetInput Method (Stream^, Encoding^, XmlDictionaryReaderQuotas^, OnXmlDictionaryReaderClose^)
.NET Framework (current version)
Specifies initialization requirements for XML text readers that read a stream.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
void SetInput(
Stream^ stream,
Encoding^ encoding,
XmlDictionaryReaderQuotas^ quotas,
OnXmlDictionaryReaderClose^ onClose
)
Parameters
- stream
-
Type:
System.IO::Stream^
The stream from which to read.
- encoding
-
Type:
System.Text::Encoding^
The character encoding of the stream.
- quotas
-
Type:
System.Xml::XmlDictionaryReaderQuotas^
The XmlDictionaryReaderQuotas to apply.
- onClose
-
Type:
System.Xml::OnXmlDictionaryReaderClose^
The delegate to be called when the reader is closed.
.NET Framework
Available since 3.0
Available since 3.0
Show: