IXmlBinaryReaderInitializer::SetInput Method (array<Byte>^, Int32, Int32, IXmlDictionary^, XmlDictionaryReaderQuotas^, XmlBinaryReaderSession^, OnXmlDictionaryReaderClose^)

 

Reinitializes the binary reader using the given input buffer.

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

void SetInput(
	array<unsigned char>^ buffer,
	int offset,
	int count,
	IXmlDictionary^ dictionary,
	XmlDictionaryReaderQuotas^ quotas,
	XmlBinaryReaderSession^ session,
	OnXmlDictionaryReaderClose^ onClose
)

Parameters

buffer
Type: array<System::Byte>^

The buffer from which to read.

offset
Type: System::Int32

Starting position from which to read in buffer.

count
Type: System::Int32

Number of bytes that can be read from buffer.

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: