Export (0) Print
Expand All

XName Methods

The XName type exposes the following members.

Public method Equals Determines whether the specified XName is equal to this XName. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member Get(String) Gets an XName object from an expanded name.
Public method Static member Get(String, String) Gets an XName object from a local name and a namespace.
Public method GetHashCode Gets a hash code for this XName. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the expanded XML name in the format {namespace}localname. (Overrides Object.ToString().)

Explicit interface implemetation Private method IEquatable<XName>.Equals Indicates whether the current XName is equal to the specified XName.
Explicit interface implemetation Private method ISerializable.GetObjectData Populates a SerializationInfo with the data required to serialize the target object.

Community Additions

© 2015 Microsoft