WorkflowViewStateService.StoreViewState(ModelItem, String, Object) 方法

定义

存储由视图状态(它与指定模型项相关联)中的指定键表示的项。

public:
 override void StoreViewState(System::Activities::Presentation::Model::ModelItem ^ modelItem, System::String ^ key, System::Object ^ value);
public override void StoreViewState (System.Activities.Presentation.Model.ModelItem modelItem, string key, object value);
override this.StoreViewState : System.Activities.Presentation.Model.ModelItem * string * obj -> unit
Public Overrides Sub StoreViewState (modelItem As ModelItem, key As String, value As Object)

参数

modelItem
ModelItem

与当前视图状态相关联的工作流活动 ModelItem

key
String

标识所存储的视图状态项的 String

value
Object

要存储的 Object

例外

modelItemkeynull

适用于