Compartilhar via


XmlSerializerOutputFormatter.Serialize Método

Definição

Serializa o valor usando o passado em xmlSerializer e 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

O serializador usado para serializar o value.

xmlWriter
XmlWriter

O gravador usado pelo serializador xmlSerializer para serializar o value.

value
Object

O valor a ser serializado.

Aplica-se a