| UserCredentialsToXml Method |
Store the credentials as a node in the given XML document
Namespace: SandcastleBuilder.PlugInsAssembly: SandcastleBuilder.PlugIns (in SandcastleBuilder.PlugIns.dll) Version: 2014.11.22.0
Syntax public XmlNode ToXml(
XmlDocument config,
XmlNode root
)
Public Function ToXml (
config As XmlDocument,
root As XmlNode
) As XmlNode
public:
XmlNode^ ToXml(
XmlDocument^ config,
XmlNode^ root
)
member ToXml :
config : XmlDocument *
root : XmlNode -> XmlNode
Parameters
- config
- Type: System.XmlXmlDocument
The XML document - root
- Type: System.XmlXmlNode
The node in which to store the element
Return Value
Type:
XmlNodeReturns the node that was added or the one that already existed in the document
Remarks The credentials are stored in an element called userCredentials with three
attributes: useDefault, userName, and password. It is created if it does not
already exist.
See Also