Argument.EvaluationOrder 属性

定义

获取或设置一个从零开始的值,该值指定自变量的计算顺序。Gets or sets a zero-based value that specifies the order in which the argument is evaluated.

public:
 property int EvaluationOrder { int get(); void set(int value); };
public int EvaluationOrder { get; set; }
member this.EvaluationOrder : int with get, set
Public Property EvaluationOrder As Integer

属性值

Int32

一个指定自变量计算顺序的从零开始的值。A zero-based value that specifies the order in which the argument is evaluated.

例外

该值不等于 UnspecifiedEvaluationOrder 且小于 0。The value is less than zero and not equal to UnspecifiedEvaluationOrder.

注解

默认情况下,自变量的计算顺序未指定且等于 UnspecifiedEvaluationOrder 值。By default, the evaluation order of the argument is unspecified and is equal to the UnspecifiedEvaluationOrder value. EvaluationOrder 设置为一个大于或等于零的值,以便为此自变量指定一个计算顺序。Set EvaluationOrder to a value greater or equal to zero to specify an evaluation order for this argument. Windows Workflow Foundation 按指定的计算顺序按升序计算参数。Windows Workflow Foundation evaluates arguments with a specified evaluation order in ascending order. 注意:未指定计算顺序的参数将先于指定计算顺序的参数计算。Note that arguments with an unspecified evaluation order are evaluated before those with a specified evaluation order.

适用于