RuleWriteAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk