Udostępnij za pośrednictwem


Utils.Serialize(XmlWriter, MajorObject, Boolean) Method

Definition

Serializes the specified object and writes the XML document to an output using the specified XmlWriter.

public static void Serialize (System.Xml.XmlWriter xmlWriter, Microsoft.AnalysisServices.MajorObject obj, bool writeReadOnlyProperties);
static member Serialize : System.Xml.XmlWriter * Microsoft.AnalysisServices.MajorObject * bool -> unit
Public Shared Sub Serialize (xmlWriter As XmlWriter, obj As MajorObject, writeReadOnlyProperties As Boolean)

Parameters

xmlWriter
XmlWriter

The XmlWriter used to write the XML document.

obj
MajorObject

The Object to serialize.

writeReadOnlyProperties
Boolean

true to write read only properties; otherwise, false.

Applies to