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
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.