IXmlBinaryReaderInitializer.SetInput Method (Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession, OnXmlDictionaryReaderClose)

 

Reinitializes the binary reader using the given input stream.

Namespace:   System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

Sub SetInput (
	stream As Stream,
	dictionary As IXmlDictionary,
	quotas As XmlDictionaryReaderQuotas,
	session As XmlBinaryReaderSession,
	onClose As OnXmlDictionaryReaderClose
)

Parameters

stream
Type: System.IO.Stream

The stream from which to read.

dictionary
Type: System.Xml.IXmlDictionary

XmlDictionary to use.

quotas
Type: System.Xml.XmlDictionaryReaderQuotas

XmlDictionaryReaderQuotas to apply.

session
Type: System.Xml.XmlBinaryReaderSession

XmlBinaryReaderSession to use.

onClose
Type: System.Xml.OnXmlDictionaryReaderClose

Delegate to call when the reader is closed.

.NET Framework
Available since 3.0
Return to top
Show: