OnTaskChanged.BeforeProperties Property
Gets or sets an SPWorkflowTaskProperties object that contains the previous task property values for any properties that were updated. This includes custom data stored in the Hashtable object returned by the ExtendedProperties property.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property BeforeProperties As SPWorkflowTaskProperties
Get
Set
'Usage
Dim instance As OnTaskChanged
Dim value As SPWorkflowTaskProperties
value = instance.BeforeProperties
instance.BeforeProperties = value
[ValidationOptionAttribute(ValidationOption.Required)]
public SPWorkflowTaskProperties BeforeProperties { get; set; }
Property Value
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
Remarks
Task properties can include custom data stored in the System.Hashtable object returned by the ExtendedProperties property.
Note
The SPWorkflowTaskProperties object specified by this property is only used as a container for storing task properties from SharePoint Foundation when the event is fired. Its contents are not synchronized with the task.
See Also
Reference
Microsoft.SharePoint.WorkflowActions Namespace
Other Resources
Workflow Activities for SharePoint Foundation