DependencyPropertyDescriptor.GetHashCode 方法

定義

回傳此 DependencyPropertyDescriptor的雜湊碼。

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

傳回

一個 32 位元有號整數雜湊碼。

備註

DependencyPropertyDescriptor 雜湊碼同時基於相依屬性的識別碼及其所設定的類型。 此實作確保 a DependencyPropertyDescriptor 不會錯誤回傳相同的雜湊碼,針對由多個可能衍生類別繼承的屬性,或是透過屬性系統重新指派的屬性。

適用於