DependencyPropertyDescriptor.GetHashCode Method

Returns the hash code for this DependencyPropertyDescriptor.

Namespace: System.ComponentModel
Assembly: WindowsBase (in windowsbase.dll)

public override int GetHashCode ()
public int GetHashCode ()
public override function GetHashCode () : int
You cannot use methods in XAML.

Return Value

A 32-bit signed integer hash code.

The hash code for DependencyPropertyDescriptor is based both on the identifier for a dependency property and on the type on which it is set. This implementation assures that a DependencyPropertyDescriptor does not improperly return the same hash code for properties that are inherited by the many possible derived classes, or for properties that are otherwise re-assigned through the property system.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions