ValidationOptionAttribute(ValidationOption) 构造函数

定义

使用 ValidationOptionAttribute 的值初始化 ValidationOption 类的新实例。

public:
 ValidationOptionAttribute(System::Workflow::ComponentModel::Compiler::ValidationOption validationOption);
public ValidationOptionAttribute (System.Workflow.ComponentModel.Compiler.ValidationOption validationOption);
new System.Workflow.ComponentModel.Compiler.ValidationOptionAttribute : System.Workflow.ComponentModel.Compiler.ValidationOption -> System.Workflow.ComponentModel.Compiler.ValidationOptionAttribute
Public Sub New (validationOption As ValidationOption)

参数

validationOption
ValidationOption

此实例的所需 ValidationOption 枚举值。

适用于