Redigera

Dela via


WorkflowViewStateService.StoreViewStateWithUndo Method

Definition

Records the current setting of the item represented by the specified key so that it is available for an undo operation and then stores the item represented by the specified key in the view state of the specified model item.

public:
 override void StoreViewStateWithUndo(System::Activities::Presentation::Model::ModelItem ^ modelItem, System::String ^ key, System::Object ^ value);
public override void StoreViewStateWithUndo (System.Activities.Presentation.Model.ModelItem modelItem, string key, object value);
override this.StoreViewStateWithUndo : System.Activities.Presentation.Model.ModelItem * string * obj -> unit
Public Overrides Sub StoreViewStateWithUndo (modelItem As ModelItem, key As String, value As Object)

Parameters

modelItem
ModelItem

The workflow activity ModelItem associated with the current view state.

key
String

The String that identifies the view state item that is stored.

value
Object

An Object to be stored.

Exceptions

The modelItem or the key is null.

Applies to