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 version. |
Serialize(XmlWriter) |
Converts the ObjectReference to an XML version by using an |
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.