XNamespace Implicit Conversion (String to XNamespace)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Converts a string containing a Uniform Resource Identifier (URI) to an XNamespace.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Parameters
- namespaceName
- Type: System.String
A String that contains the namespace URI.
The following example shows the initialization of an XNamespace variable by assigning a string to it.
Show: