Gets a hash code for this DependencyObject.
Assembly: WindowsBase (in WindowsBase.dll)
Public Overrides NotOverridable Function GetHashCode As [%$TOPIC/aa345744_en-us_VS_110_2_0_0_0_0%]
public override sealed [%$TOPIC/aa345744_en-us_VS_110_2_0_1_0_0%] GetHashCode()
public: virtual [%$TOPIC/aa345744_en-us_VS_110_2_0_2_0_0%] GetHashCode() override sealed
abstract GetHashCode : unit -> [%$TOPIC/aa345744_en-us_VS_110_2_0_3_0_0%] override GetHashCode : unit -> [%$TOPIC/aa345744_en-us_VS_110_2_0_3_0_1%]
Return ValueType: SystemInt32
A signed 32-bit integer hash code.
DependencyObject overrides and then seals two Object methods: Equals and . The overrides call the Object implementations, resulting in an object equality behavior. The purpose of these deliberate overrides is to prevent derived classes from trying to define a value equality for a DependencyObject. Value equalities for DependencyObject will never be accurate because of the innate property value-changing capabilities of a DependencyObject and its dependency properties. This includes fundamental WPF features such as data binding and the WPF property system.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)