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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.