Click or drag to resize

XDocumentWrapperXName Method

Gets the correct XName for the provided element name (Tag name).The XName contains a namespace, if the assigned schema requires a namespace. If no namespace is defined for the assigned schema, no namespace is added to the XName. The XName has to be used for all Xml.Linq queries, used to access objects with the element name.

Namespace: Aml.Engine.XML
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public virtual XName XName(
	string tagname
)

Parameters

tagname  String
A Tag name which should be transformed to an XName.

Return Value

XName
The generated XName.
Exceptions
ExceptionCondition
ArgumentNullExceptiontag name
See Also