AdminRepositoryInfo.ToXml Method (XmlWriter, String, AdminRepositoryInfo)

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 AdminRepositoryInfo _
)
public static void ToXml(
    XmlWriter writer,
    string element,
    AdminRepositoryInfo obj
)
public:
static void ToXml(
    XmlWriter^ writer, 
    String^ element, 
    AdminRepositoryInfo^ obj
)
static member ToXml : 
        writer:XmlWriter * 
        element:string * 
        obj:AdminRepositoryInfo -> unit
public static function ToXml(
    writer : XmlWriter, 
    element : String, 
    obj : AdminRepositoryInfo
)

Parameters

  • element
    Type: System.String

    The element of the repository information to encode to XML.

.NET Framework Security

See Also

Reference

AdminRepositoryInfo Class

ToXml Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace