ViewStateService.RetrieveViewState(ModelItem, String) 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.
Retrieves an aspect of the view state for the specified modelItem
, matching the specified key
.
public:
abstract System::Object ^ RetrieveViewState(System::Activities::Presentation::Model::ModelItem ^ modelItem, System::String ^ key);
public abstract object RetrieveViewState (System.Activities.Presentation.Model.ModelItem modelItem, string key);
abstract member RetrieveViewState : System.Activities.Presentation.Model.ModelItem * string -> obj
Public MustOverride Function RetrieveViewState (modelItem As ModelItem, key As String) As Object
Parameters
Returns
The aspect of the view state as an Object,or null
.
Remarks
Call StoreViewState to initially store view state information so that it can be retrieved.
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.