共用方式為


WorkflowViewStateService.GetViewState(Object) 方法

定義

擷取指定之物件的檢視狀態。

public:
 static System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ GetViewState(System::Object ^ instance);
public static System.Collections.Generic.Dictionary<string,object> GetViewState (object instance);
static member GetViewState : obj -> System.Collections.Generic.Dictionary<string, obj>
Public Shared Function GetViewState (instance As Object) As Dictionary(Of String, Object)

參數

instance
Object

已擷取其檢視狀態的物件。

傳回

Dictionary<TKey,TValue>包含檢視狀態的 。

例外狀況

instancenull

適用於