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
writer
Type: System.Xml.XmlWriterThe XML writer.
element
Type: System.StringThe element of the repository information to encode into XML.
.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.