Get Method
Collapse the table of content
Expand the table of content

XNamespace.Get Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets an XNamespace for the specified Uniform Resource Identifier (URI).

Namespace:  System.Xml.Linq
Assembly:  System.Xml.Linq (in System.Xml.Linq.dll)

'Declaration
Public Shared Function Get ( _
	namespaceName As String _
) As XNamespace

Parameters

namespaceName
Type: System.String
A String that contains a namespace URI.

Return Value

Type: System.Xml.Linq.XNamespace
An XNamespace created from the specified URI.

The returned XNamespace object is guaranteed to be atomic (that is, it is the only one in the system for that particular URI).

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft