Export (0) Print
Expand All

RuleWriteAttribute Constructor (String, RuleAttributeTarget)

Initializes a new instance of the RuleWriteAttribute class.

Namespace:  System.Workflow.Activities.Rules
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public RuleWriteAttribute(
	string path,
	RuleAttributeTarget target
)

Parameters

path
Type: System.String

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

target
Type: System.Workflow.Activities.Rules.RuleAttributeTarget

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

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).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft