RuleUpdateAction 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 RuleUpdateAction 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| RuleUpdateAction() |
初始化 RuleUpdateAction 類別的新執行個體。 |
| RuleUpdateAction(String) |
初始化 RuleUpdateAction 類別的新執行個體。 |
RuleUpdateAction()
初始化 RuleUpdateAction 類別的新執行個體。
public:
RuleUpdateAction();
public RuleUpdateAction();
Public Sub New ()
適用於
RuleUpdateAction(String)
初始化 RuleUpdateAction 類別的新執行個體。
public:
RuleUpdateAction(System::String ^ path);
public RuleUpdateAction(string path);
new System.Workflow.Activities.Rules.RuleUpdateAction : string -> System.Workflow.Activities.Rules.RuleUpdateAction
Public Sub New (path As String)
參數
- path
- String
一個代表欄位或屬性名稱的字串被更改。 字元「/」用作分隔符。
備註
若要表示 this.SomeProperty 性質被修改, path 參數為 this/SomeProperty。 你可以依照喜好具體指定變更的值(例如,如果你只修改 this.SomeProperty/SomeOtherProperty了 ,你可以指定 this/SomeProperty/SomeOtherProperty)。 在後者的情況下,其他已使用 this.SomeProperty/AnyOtherProperty 過的規則不會被重新評估。
若要指定所有欄位與屬性皆被修改,請在路徑末尾加上「*」。 例如,表示 this/SomeProperty/* 所有欄位 this.SomeProperty 和屬性都被修改過。 因此,所有使用任何欄位或屬性的 this.SomeProperty 規則都會重新評估。
Note
若規則集執行時設定 ChainingBehavior 為 None,則忽略此動作。