Udostępnij przez


Metoda Serialize

Serializes węzeł wyrażenie do określonego modułu zapisującego XML.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Syntax

'Deklaracja
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Sub Serialize ( _
    xmlWriter As XmlWriter _
)
'Użycie
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
)

Parameters

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.

Przykłady

C#

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