Share via


RepositoryProperties.ToXml Method (XmlWriter, String)

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

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