XNamespace Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an XML namespace. This class cannot be inherited.
public ref class XNamespace sealed
public sealed class XNamespace
type XNamespace = class
Public NotInheritable Class XNamespace
- Inheritance
-
XNamespace
Remarks
For more information about this API, see Supplemental API remarks for XNamespace.
Properties
NamespaceName |
Gets the Uniform Resource Identifier (URI) of this namespace. |
None |
Gets the XNamespace object that corresponds to no namespace. |
Xml |
Gets the XNamespace object that corresponds to the XML URI ( |
Xmlns |
Gets the XNamespace object that corresponds to the xmlns URI ( |
Methods
Equals(Object) |
Determines whether the specified XNamespace is equal to the current XNamespace. |
Get(String) |
Gets an XNamespace for the specified Uniform Resource Identifier (URI). |
GetHashCode() |
Gets a hash code for this XNamespace. |
GetName(String) |
Returns an XName object created from this XNamespace and the specified local name. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns the URI of this XNamespace. |
Operators
Addition(XNamespace, String) |
Combines an XNamespace object with a local name to create an XName. |
Equality(XNamespace, XNamespace) |
Returns a value indicating whether two instances of XNamespace are equal. |
Implicit(String to XNamespace) |
Converts a string containing a Uniform Resource Identifier (URI) to an XNamespace. |
Inequality(XNamespace, XNamespace) |
Returns a value indicating whether two instances of XNamespace are not equal. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om