DependencyPropertyDescriptor.GetHashCode 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳此 DependencyPropertyDescriptor的雜湊碼。
public:
override int GetHashCode();
public override int GetHashCode();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
傳回
一個 32 位元有號整數雜湊碼。
備註
的 DependencyPropertyDescriptor 雜湊碼同時基於相依屬性的識別碼及其所設定的類型。 此實作確保 a DependencyPropertyDescriptor 不會錯誤回傳相同的雜湊碼,針對由多個可能衍生類別繼承的屬性,或是透過屬性系統重新指派的屬性。