ViewStateService.StoreViewState(ModelItem, String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores an aspect of the view state for the specified modelItem
, matching the specified key
.
public:
abstract void StoreViewState(System::Activities::Presentation::Model::ModelItem ^ modelItem, System::String ^ key, System::Object ^ value);
public abstract void StoreViewState (System.Activities.Presentation.Model.ModelItem modelItem, string key, object value);
abstract member StoreViewState : System.Activities.Presentation.Model.ModelItem * string * obj -> unit
Public MustOverride Sub StoreViewState (modelItem As ModelItem, key As String, value As Object)
Parameters
Remarks
You can retrieve the stored object by calling RetrieveViewState and passing the same values for modelItem
and key
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.