RepositoryProperties.FromXml Method
Loads the repository information using the provided XML reader.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function FromXml ( _
serviceProvider As IServiceProvider, _
reader As XmlReader _
) As RepositoryProperties
public static RepositoryProperties FromXml(
IServiceProvider serviceProvider,
XmlReader reader
)
public:
static RepositoryProperties^ FromXml(
IServiceProvider^ serviceProvider,
XmlReader^ reader
)
static member FromXml :
serviceProvider:IServiceProvider *
reader:XmlReader -> RepositoryProperties
public static function FromXml(
serviceProvider : IServiceProvider,
reader : XmlReader
) : RepositoryProperties
Parameters
serviceProvider
Type: System.IServiceProviderThe service provider.
reader
Type: System.Xml.XmlReaderThe XML reader.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.RepositoryProperties
The newly loaded properties of the repository.
.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.