WorkflowViewStateService.SetViewState(Object, Dictionary<String,Object>) 方法
定义
将指定参数实例的视图状态设置为指定的词典值。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))
参数
- instance
- Object
一个表示视图状态的对象。An object that represents the view state.
- value
- Dictionary<String,Object>
要设置的词典值。The dictionary value to set.
例外
instance 为 null。The instance is null.