Share via


PropertyValidationContext 建構函式

定義

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

多載

PropertyValidationContext(Object, DependencyProperty)

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

PropertyValidationContext(Object, PropertyInfo, String)

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

PropertyValidationContext(Object, DependencyProperty)

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

public:
 PropertyValidationContext(System::Object ^ propertyOwner, System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty);
public PropertyValidationContext (object propertyOwner, System.Workflow.ComponentModel.DependencyProperty dependencyProperty);
new System.Workflow.ComponentModel.Compiler.PropertyValidationContext : obj * System.Workflow.ComponentModel.DependencyProperty -> System.Workflow.ComponentModel.Compiler.PropertyValidationContext
Public Sub New (propertyOwner As Object, dependencyProperty As DependencyProperty)

參數

propertyOwner
Object

擁有屬性的物件。

dependencyProperty
DependencyProperty

相關聯的 DependencyProperty

例外狀況

propertyOwner 為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於

PropertyValidationContext(Object, PropertyInfo, String)

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

public:
 PropertyValidationContext(System::Object ^ propertyOwner, System::Reflection::PropertyInfo ^ propertyInfo, System::String ^ propertyName);
public PropertyValidationContext (object propertyOwner, System.Reflection.PropertyInfo propertyInfo, string propertyName);
new System.Workflow.ComponentModel.Compiler.PropertyValidationContext : obj * System.Reflection.PropertyInfo * string -> System.Workflow.ComponentModel.Compiler.PropertyValidationContext
Public Sub New (propertyOwner As Object, propertyInfo As PropertyInfo, propertyName As String)

參數

propertyOwner
Object

擁有屬性的物件。

propertyInfo
PropertyInfo

相關聯的 DependencyProperty

propertyName
String

屬性的名稱。

例外狀況

propertyName 為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於