Share via


ObjectReference.Serialize Method

Definition

Overloads

Serialize()

Converts the ObjectReference to an XML version.

Serialize(XmlWriter)

Converts the ObjectReference to an XML version by using an xmlWriter.

Serialize()

Converts the ObjectReference to an XML version.

public string Serialize ();
abstract member Serialize : unit -> string
override this.Serialize : unit -> string
Public Function Serialize () As String

Returns

An XML version of the ObjectReference.

Applies to

Serialize(XmlWriter)

Converts the ObjectReference to an XML version by using an xmlWriter.

public void Serialize (System.Xml.XmlWriter xmlWriter);
member this.Serialize : System.Xml.XmlWriter -> unit
Public Sub Serialize (xmlWriter As XmlWriter)

Parameters

xmlWriter
XmlWriter

Name of an xmlWriter for writing the XML version of the referenced content.

Applies to