Επεξεργασία

Κοινή χρήση μέσω


ArgumentAccessor.Setter Property

Definition

Gets or sets the method to set an argument into an activity instance.

public:
 property Action<System::Activities::Activity ^, System::Activities::Argument ^> ^ Setter { Action<System::Activities::Activity ^, System::Activities::Argument ^> ^ get(); void set(Action<System::Activities::Activity ^, System::Activities::Argument ^> ^ value); };
public Action<System.Activities.Activity,System.Activities.Argument> Setter { get; set; }
member this.Setter : Action<System.Activities.Activity, System.Activities.Argument> with get, set
Public Property Setter As Action(Of Activity, Argument)

Property Value

The method to set an argument into an activity instance.

Remarks

Using a method assigned to this property is the preferred way to set the values of a model property. Using SetValue will set the value in the editing context, which will not update the underlying value until the editing context completes.

Applies to