RuleUpdateAction 构造函数

定义

初始化 RuleUpdateAction 类的新实例。

重载

名称 说明
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 的所有规则。

注释

如果规则集以设置为 /> 运行,则忽略此操作。

适用于