Share via


PropertyValidationContext 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

提供 DependencyProperty 的驗證內容。

public ref class PropertyValidationContext sealed
public sealed class PropertyValidationContext
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class PropertyValidationContext
type PropertyValidationContext = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type PropertyValidationContext = class
Public NotInheritable Class PropertyValidationContext
繼承
PropertyValidationContext
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

建構函式

PropertyValidationContext(Object, DependencyProperty)

初始化 PropertyValidationContext 類別的新執行個體。

PropertyValidationContext(Object, PropertyInfo, String)

初始化 PropertyValidationContext 類別的新執行個體。

屬性

Property

取得與這個執行個體相關聯的 DependencyProperty,做為 Object

PropertyName

取得與此執行個體相關聯的屬性名稱。

PropertyOwner

取得 Object,它擁有與這個執行個體相關聯的屬性。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於