Udostępnij za pośrednictwem


WorkflowViewStateService.GetViewState(Object) Metoda

Definicja

Pobiera stan widoku dla określonego obiektu.

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)

Parametry

instance
Object

Obiekt, którego stan widoku jest pobierany.

Zwraca

Element Dictionary<TKey,TValue> , który zawiera stan widoku.

Wyjątki

Wartość instance to null.

Dotyczy