Udostępnij za pośrednictwem


ObjectReference.Serialize Method

Definition

Overloads

Serialize()

Converts the ObjectReference to an XML representation.

Serialize(XmlWriter)

Persists the ObjectReference to XML.

Serialize()

Converts the ObjectReference to an XML representation.

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

Returns

An XML representation of the ObjectReference.

Applies to

Serialize(XmlWriter)

Persists the ObjectReference to XML.

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

Parameters

xmlWriter
XmlWriter

An XmlWriter to which the reference is persisted.

Applies to