PropertyValidationContext 建構函式

定義

初始化 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 是空參考(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 是空參考(Visual Basic Nothing的)。

適用於