GetHashCode Method
Collapse the table of content
Expand the table of content

XName.GetHashCode Method

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

Gets a hash code for this XName.

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

'Declaration
Public Overrides Function GetHashCode As Integer

Return Value

Type: System.Int32
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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft