Rediger

Del via


DependencyPropertyDescriptor.GetHashCode Method

Definition

Returns the hash code for this DependencyPropertyDescriptor.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Returns

A 32-bit signed integer hash code.

Remarks

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.

Applies to