編輯

共用方式為


RuleWriteAttribute Constructors

Definition

Overloads

RuleWriteAttribute(String)

Initializes a new instance of the RuleWriteAttribute class.

RuleWriteAttribute(String, RuleAttributeTarget)

Initializes a new instance of the RuleWriteAttribute class.

RuleWriteAttribute(String)

Initializes a new instance of the RuleWriteAttribute class.

public:
 RuleWriteAttribute(System::String ^ path);
public RuleWriteAttribute (string path);
new System.Workflow.Activities.Rules.RuleWriteAttribute : string -> System.Workflow.Activities.Rules.RuleWriteAttribute
Public Sub New (path As String)

Parameters

path
String

The field or property that is on the same class as the method or property that this attribute is applied to.

Remarks

To specify that the method or property writes to a field or property on one of the parameters, you must use RuleWriteAttribute (path, RuleAttributeTarget.Parameter).

Applies to

RuleWriteAttribute(String, RuleAttributeTarget)

Initializes a new instance of the RuleWriteAttribute class.

public:
 RuleWriteAttribute(System::String ^ path, System::Workflow::Activities::Rules::RuleAttributeTarget target);
public RuleWriteAttribute (string path, System.Workflow.Activities.Rules.RuleAttributeTarget target);
new System.Workflow.Activities.Rules.RuleWriteAttribute : string * System.Workflow.Activities.Rules.RuleAttributeTarget -> System.Workflow.Activities.Rules.RuleWriteAttribute
Public Sub New (path As String, target As RuleAttributeTarget)

Parameters

path
String

The field or property that is on the same class as the method or property that this attribute is applied to.

target
RuleAttributeTarget

RuleAttributeTarget enumeration value that determines how to use path to find target.

Remarks

To specify that the method or property writes to a field or property on one of the parameters, you must use RuleWriteAttribute (path, RuleAttributeTarget.Parameter).

Applies to