ValidationOption 枚举

定义

注意

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

指定 ValidationOption 属性中的验证选项。

public enum class ValidationOption
public enum ValidationOption
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum ValidationOption
type ValidationOption = 
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ValidationOption = 
Public Enum ValidationOption
继承
ValidationOption
属性

字段

名称 说明
None 0

未执行验证。

Optional 1

验证是可选的。 如果存在值,将对其进行验证。

Required 2

必须执行验证。 值必须存在,并且将进行验证。

注解

Note

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

适用于