Dela via


XmlDataContractSerializerInputFormatter.CreateXmlReader Method

Definition

Called during deserialization to get the XmlReader.

protected:
 virtual System::Xml::XmlReader ^ CreateXmlReader(System::IO::Stream ^ readStream, System::Text::Encoding ^ encoding);
protected virtual System.Xml.XmlReader CreateXmlReader (System.IO.Stream readStream, System.Text.Encoding encoding);
abstract member CreateXmlReader : System.IO.Stream * System.Text.Encoding -> System.Xml.XmlReader
override this.CreateXmlReader : System.IO.Stream * System.Text.Encoding -> System.Xml.XmlReader
Protected Overridable Function CreateXmlReader (readStream As Stream, encoding As Encoding) As XmlReader

Parameters

readStream
Stream

The Stream from which to read.

encoding
Encoding

The Encoding used to read the stream.

Returns

The XmlReader used during deserialization.

Applies to