Compartir a través de


XmlSerializerOutputFormatter.Serialize Método

Definición

Serializa el valor mediante el objeto pasado en xmlSerializer y 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)

Parámetros

xmlSerializer
XmlSerializer

Serializador utilizado para serializar .value

xmlWriter
XmlWriter

Escritor utilizado por el serializador xmlSerializer para serializar .value

value
Object

Valor que se va a serializar.

Se aplica a