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
- modelItem
Type: System.Activities.Design.Model.ModelItem
The workflow activity ModelItem associated with the current view state.
- key
Type: System.String
The String that identifies the view state item that is stored.
- value
Type: System.Object
An Object to be stored.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
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