RuleWriteAttribute 建構函式

定義

多載

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

欄位或屬性 (Property),與套用此屬性 (Attribute) 的方法或屬性 (Property) 位於同一個類別中。

備註

若要指定方法或屬性寫入至其中一個參數的欄位或屬性,您必須使用 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

欄位或屬性 (Property),與套用此屬性 (Attribute) 的方法或屬性 (Property) 位於同一個類別中。

target
RuleAttributeTarget

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

備註

若要指定方法或屬性寫入至其中一個參數的欄位或屬性,您必須使用 RuleWriteAttribute (path, RuleAttributeTarget.Parameter)。

適用於