ValidationOption 列舉

定義

警告

此 API 現已淘汰。

指定 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 = 
Public Enum ValidationOption
繼承
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.

適用於