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
writer
Type: System.Xml.XmlWriterThe XML writer.
element
Type: System.StringThe element of the repository information to encode into XML.
obj
Type: Microsoft.TeamFoundation.VersionControl.Client.RepositoryPropertiesThe repository information object that contains the element to encode.
.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.