Share via


ViewStateService.StoreViewStateWithUndo Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

When implemented in a derived class, records the current setting of the item represented by the specified key so that it is available for an undo operation. Then the item represented by the specified key is stored in the view state of the specified model item.

Namespace:  System.Activities.Design.View
Assembly:  System.Activities.Design (in System.Activities.Design.dll)

Syntax

'Declaration
Public MustOverride Sub StoreViewStateWithUndo ( _
    modelItem As ModelItem, _
    key As String, _
    value As Object _
)
'Usage
Dim instance As ViewStateService
Dim modelItem As ModelItem
Dim key As String
Dim value As Object

instance.StoreViewStateWithUndo(modelItem, _
    key, value)
public abstract void StoreViewStateWithUndo(
    ModelItem modelItem,
    string key,
    Object value
)
public:
virtual void StoreViewStateWithUndo(
    ModelItem^ modelItem, 
    String^ key, 
    Object^ value
) abstract
public abstract function StoreViewStateWithUndo(
    modelItem : ModelItem, 
    key : String, 
    value : Object
)
abstract StoreViewStateWithUndo : 
        modelItem:ModelItem * 
        key:string * 
        value:Object -> unit 

Parameters

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

ViewStateService Class

ViewStateService Members

System.Activities.Design.View Namespace