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

适用于