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, string key, object value);

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

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1