RuleWriteAttribute 建構函式

定義

多載

名稱 Description
RuleWriteAttribute(String)

初始化 RuleWriteAttribute 類別的新執行個體。

RuleWriteAttribute(String, RuleAttributeTarget)

初始化 RuleWriteAttribute 類別的新執行個體。

RuleWriteAttribute(String)

初始化 RuleWriteAttribute 類別的新執行個體。

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)

參數

path
String

與該屬性套用的方法或屬性在同一類別上的欄位或屬性。

備註

若要指定該方法或屬性能寫入參數上的欄位或屬性,必須使用 RuleWriteAttribute (path, RuleAttributeTarget.Parameter)。

適用於

RuleWriteAttribute(String, RuleAttributeTarget)

初始化 RuleWriteAttribute 類別的新執行個體。

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)

參數

path
String

與該屬性套用的方法或屬性在同一類別上的欄位或屬性。

target
RuleAttributeTarget

RuleAttributeTarget 列舉值決定如何利用路徑尋找目標。

備註

若要指定該方法或屬性能寫入參數上的欄位或屬性,必須使用 RuleWriteAttribute (path, RuleAttributeTarget.Parameter)。

適用於