Redigera

Dela via


WorkflowViewStateService.GetViewState(Object) Method

Definition

Retrieves the view state for a specified 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)

Parameters

instance
Object

The object whose view state is retrieved.

Returns

The Dictionary<TKey,TValue> that contains the view state.

Exceptions

The instance is null.

Applies to