RuleWriteAttribute Constructor (String, RuleAttributeTarget)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 3.0
Return to top
Show: