Freigeben über


XmlSerializerOutputFormatter.Serialize Methode

Definition

Serialisiert den Wert mithilfe des übergebenen xmlSerializer und 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)

Parameter

xmlSerializer
XmlSerializer

Der Serialisierer, der zum Serialisieren von valueverwendet wird.

xmlWriter
XmlWriter

Der Writer, der vom Serialisierungsprogramm xmlSerializer zum Serialisieren von valueverwendet wird.

value
Object

Der zu serialisierende Wert.

Gilt für: