ExpressionNode.Serialize 方法
Serializes the expression node to the specified XML Writer.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Sub Serialize ( _
xmlWriter As XmlWriter _
)
'用途
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
)
參數
- xmlWriter
型別:System.Xml.XmlWriter
An XmlWriter object value that specifies the XML writer used to serialize the expression node.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。
範例
C#
System.Xml.XmlWriter xmlWriter;
string xml = ExpressionNode.SerializeNode(xmlWriter);