Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DependencyProperty.GetHashCode Method

Returns a hash code for this DependencyProperty.

Namespace:  System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public override int GetHashCode()

Return Value

Type: System.Int32
The hash code for this DependencyProperty.

The property system uses its own unique identifier GlobalIndex, and the value of that property is returned by GetHashCode.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft