WorkflowViewStateService.SetViewState 方法

定义

将指定参数实例的视图状态设置为指定的词典值。

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))

参数

instance
Object

一个表示视图状态的对象。

value
Dictionary<String,Object>

要设置的词典值。

例外

instancenull

适用于