XmlSerializerOutputFormatter.Serialize 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用传入 xmlSerializer
的 和 xmlWriter
序列化值。
protected:
virtual void Serialize(System::Xml::Serialization::XmlSerializer ^ xmlSerializer, System::Xml::XmlWriter ^ xmlWriter, System::Object ^ value);
protected virtual void Serialize (System.Xml.Serialization.XmlSerializer xmlSerializer, System.Xml.XmlWriter xmlWriter, object value);
protected virtual void Serialize (System.Xml.Serialization.XmlSerializer xmlSerializer, System.Xml.XmlWriter xmlWriter, object? value);
abstract member Serialize : System.Xml.Serialization.XmlSerializer * System.Xml.XmlWriter * obj -> unit
override this.Serialize : System.Xml.Serialization.XmlSerializer * System.Xml.XmlWriter * obj -> unit
Protected Overridable Sub Serialize (xmlSerializer As XmlSerializer, xmlWriter As XmlWriter, value As Object)
参数
- xmlSerializer
- XmlSerializer
用于序列化 的 value
序列化程序。
- xmlWriter
- XmlWriter
序列化程序用于序列化 的value
编写器xmlSerializer
。
- value
- Object
要串行化的值。