共用方式為


XmlDataContractSerializerInputFormatter.CreateXmlReader 方法

定義

在還原序列化期間呼叫 以取得 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

參數

readStream
Stream

要讀取的來源 Stream

encoding
Encoding

Encoding用來讀取資料流程的 。

傳回

在還原序列化期間所使用的 XmlReader

適用於