ValidationOption 枚举
定义
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
指定 ValidationOption 属性中的验证选项。Specifies the validation options in the ValidationOption property.
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
- 继承
- 属性
字段
| None | 0 | 不执行任何验证。No validation performed. |
| Optional | 1 | 验证是可选的。Validation is optional. 如果值存在,将对其验证。If value is present, it will be validated. |
| Required | 2 | 必须执行验证。Validation must be performed. 值必须存在并将对其验证。Value must be present and will be validated. |
注解
备注
本材料讨论的类型和命名空间已废弃不用。This material discusses types and namespaces that are obsolete. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型。For more information, see Deprecated Types in Windows Workflow Foundation 4.5.