RepositoryProperties.ToXml Method (XmlWriter, String, RepositoryProperties)

Creates an XML representation of this repository information and saves it to the provided XML writer.

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

Syntax

'Declaration
Public Shared Sub ToXml ( _
    writer As XmlWriter, _
    element As String, _
    obj As RepositoryProperties _
)
public static void ToXml(
    XmlWriter writer,
    string element,
    RepositoryProperties obj
)
public:
static void ToXml(
    XmlWriter^ writer, 
    String^ element, 
    RepositoryProperties^ obj
)
static member ToXml : 
        writer:XmlWriter * 
        element:string * 
        obj:RepositoryProperties -> unit
public static function ToXml(
    writer : XmlWriter, 
    element : String, 
    obj : RepositoryProperties
)

Parameters

  • element
    Type: System.String

    The element of the repository information to encode into XML.

.NET Framework Security

See Also

Reference

RepositoryProperties Class

ToXml Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace