The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
XNamespace Implicit Conversion (String^ to XNamespace^)
.NET Framework (current version)
Converts a string containing a Uniform Resource Identifier (URI) to an XNamespace.
This API is not CLS-compliant.
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.
This example produces the following output:
http://www.adventure-works.com
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: