Get Hash Code Method
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.
Gets a hash code for this XName.
public: override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
An Int32 that contains the hash code for the XName.
This method serves as a hash function for XName. You can use GetHashCode in hashing algorithms, or in data structures such as a hash table.