Επεξεργασία

Κοινή χρήση μέσω


ViewStateService.RemoveViewState(ModelItem, String) Method

Definition

When implemented in a derived class, removes the view state represented by the specified key and associated with the specified model item.

public:
 abstract bool RemoveViewState(System::Activities::Presentation::Model::ModelItem ^ modelItem, System::String ^ key);
public abstract bool RemoveViewState (System.Activities.Presentation.Model.ModelItem modelItem, string key);
abstract member RemoveViewState : System.Activities.Presentation.Model.ModelItem * string -> bool
Public MustOverride Function RemoveViewState (modelItem As ModelItem, key As String) As Boolean

Parameters

modelItem
ModelItem

The workflow activity ModelItem associated with the current view state.

key
String

The String that identifies the view state item that is stored.

Returns

true if the view state was removed; otherwise, false.

Applies to