XmlSerializerOutputFormatter.Serialize Method

Definition

Serializes value using the passed in xmlSerializer and 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)

Parameters

xmlSerializer
XmlSerializer

The serializer used to serialize the value.

xmlWriter
XmlWriter

The writer used by the serializer xmlSerializer to serialize the value.

value
Object

The value to be serialized.

Applies to