語言

RuleUpdateAction.Path 屬性

定義

取得或設定 的 RuleUpdateAction路徑。

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
member this.Path : string with get, set
Public Property Path As String

屬性值

RuleUpdateAction路徑 。

備註

Path 是代表被更改欄位或屬性名稱的字串。 「/」用作分隔符。 為了表示該財產 this.SomeProperty 已被修改,該財產會被「」標記為「this/SomeProperty」。 你可以依照喜好具體指定變更的值(例如,如果你只修改 this.SomeProperty/SomeOtherProperty了 ,可以指定「this/SomeProperty/SomeOtherProperty」)。 在後者的情況下,其他已使用 this.SomeProperty/AnyOtherProperty 過的規則不會被重新評估。

若要指定所有欄位與屬性皆被修改,請在路徑末尾加上「*」。 例如,「this/SomeProperty/*」表示所有欄位 this.SomeProperty 和屬性都已被修改。 因此,所有使用任何欄位或屬性的 this.SomeProperty 規則都會重新評估。

Note

若規則集執行時設定 ChainingBehavior 為 None,則忽略此動作。

適用於