 | 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.XMLAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic virtual XName XName(
string tagname
)
Public Overridable Function XName (
tagname As String
) As XName
public:
virtual XName^ XName(
String^ tagname
)
Parameters
- tagname String
- A Tag name which should be transformed to an XName.
Return Value
XNameThe generated XName.
Exceptions
See Also