共用方式為


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

適用於