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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기