共用方式為


BuildDefinitionXmlSerializer.ToXml Method

Serializes the build definition to an XML serialized form.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Public Shared Sub ToXml ( _
    definition As IBuildDefinition, _
    writer As XmlWriter _
)
public static void ToXml(
    IBuildDefinition definition,
    XmlWriter writer
)
public:
static void ToXml(
    IBuildDefinition^ definition, 
    XmlWriter^ writer
)
static member ToXml : 
        definition:IBuildDefinition * 
        writer:XmlWriter -> unit
public static function ToXml(
    definition : IBuildDefinition, 
    writer : XmlWriter
)

Parameters

  • writer
    Type: System.Xml.XmlWriter

    The System.Xml.XmlWriter to which the definition should be written

.NET Framework Security

See Also

Reference

BuildDefinitionXmlSerializer Class

Microsoft.TeamFoundation.Build.Client Namespace