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
definition
Type: Microsoft.TeamFoundation.Build.Client.IBuildDefinitionThe build definition to serialize
writer
Type: System.Xml.XmlWriterThe System.Xml.XmlWriter to which the definition should be written
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.