Redigera

Dela via


WorkflowViewStateService.StoreViewState(ModelItem, String, Object) Method

Definition

Stores the item represented by a specified key in the view state associated with a specified model item.

public:
 override void StoreViewState(System::Activities::Presentation::Model::ModelItem ^ modelItem, System::String ^ key, System::Object ^ value);
public override void StoreViewState (System.Activities.Presentation.Model.ModelItem modelItem, string key, object value);
override this.StoreViewState : System.Activities.Presentation.Model.ModelItem * string * obj -> unit
Public Overrides Sub StoreViewState (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