Constraint<T>.Body 属性

定义

获取或设置验证逻辑。

public:
 property System::Activities::ActivityAction<T, System::Activities::Validation::ValidationContext ^> ^ Body { System::Activities::ActivityAction<T, System::Activities::Validation::ValidationContext ^> ^ get(); void set(System::Activities::ActivityAction<T, System::Activities::Validation::ValidationContext ^> ^ value); };
public System.Activities.ActivityAction<T,System.Activities.Validation.ValidationContext> Body { get; set; }
member this.Body : System.Activities.ActivityAction<'T, System.Activities.Validation.ValidationContext> with get, set
Public Property Body As ActivityAction(Of T, ValidationContext)

属性值

ActivityAction 委托。

适用于