Edit

Share via


WorkflowViewStateService.SetViewState Method

Definition

Sets the view state on the parameter instance specified to the dictionary value that is specified.

public:
 static void SetViewState(System::Object ^ instance, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ value);
public static void SetViewState (object instance, System.Collections.Generic.Dictionary<string,object> value);
static member SetViewState : obj * System.Collections.Generic.Dictionary<string, obj> -> unit
Public Shared Sub SetViewState (instance As Object, value As Dictionary(Of String, Object))

Parameters

instance
Object

An object that represents the view state.

value
Dictionary<String,Object>

The dictionary value to set.

Exceptions

The instance is null.

Applies to