Sdílet prostřednictvím


XmlSerializerOutputFormatter.Serialize Metoda

Definice

Serializuje hodnotu pomocí předaných v xmlSerializer a 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)

Parametry

xmlSerializer
XmlSerializer

Serializátor použitý k serializaci .value

xmlWriter
XmlWriter

Zapisovač používaný serializátorem xmlSerializer k serializaci value.

value
Object

Hodnota, která má být serializována.

Platí pro