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 上的任何字段或属性的所有规则。

注意

如果在将 ChainingBehavior 设置为 None 的情况下运行该规则集,则会忽略此操作。

适用于