IXmlTextReaderInitializer.SetInput Method (Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

 

Specifies initialization requirements for XML text readers that read a stream.

Namespace:   System.Xml
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
Return to top
Show: