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);