ObjectReference.Serialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.