Freigeben über


Serialize-Methode

Serializes the expression node to the specified XML Writer.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Sub Serialize ( _
    xmlWriter As XmlWriter _
)
'Usage
Dim instance As ExpressionNode
Dim xmlWriter As XmlWriter

instance.Serialize(xmlWriter)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public void Serialize(
    XmlWriter xmlWriter
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
void Serialize(
    XmlWriter^ xmlWriter
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
member Serialize : 
        xmlWriter:XmlWriter -> unit 
public function Serialize(
    xmlWriter : XmlWriter
)

Parameter

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

C#

System.Xml.XmlWriter xmlWriter; 
string xml = ExpressionNode.SerializeNode(xmlWriter);