Deployment LocationFrom Xml Method
Create a deployment location instance from an XML element containing the settings
Definition
Namespace: SandcastleBuilder.PlugIns
Assembly: SandcastleBuilder.PlugIns (in SandcastleBuilder.PlugIns.dll) Version: 2026.3.29.0
A DeploymentLocation object containing the settings from the XPath navigator.
Assembly: SandcastleBuilder.PlugIns (in SandcastleBuilder.PlugIns.dll) Version: 2026.3.29.0
C#
public static DeploymentLocation FromXml(
XElement configuration,
string id
)VB
Public Shared Function FromXml (
configuration As XElement,
id As String
) As DeploymentLocationC++
public:
static DeploymentLocation^ FromXml(
XElement^ configuration,
String^ id
)F#
static member FromXml :
configuration : XElement *
id : string -> DeploymentLocation Parameters
- configuration XElement
- The XML element from which to obtain the settings
- id String
- The id of the element to load
Return Value
DeploymentLocationA DeploymentLocation object containing the settings from the XPath navigator.
Remarks
It should contain an element called deploymentLocation with two attributes (id
with the specified ID value and location) and nested userCredentials and
proxyCredentials elements.