Метод 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);