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.

例外狀況

值小於零且不等於 UnspecifiedEvaluationOrderThe 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.

適用於