OnTaskChanged.AfterProperties Property
Gets or sets an SPWorkflowTaskProperties object that contains the current 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 AfterProperties As SPWorkflowTaskProperties
Get
Set
'Usage
Dim instance As OnTaskChanged
Dim value As SPWorkflowTaskProperties
value = instance.AfterProperties
instance.AfterProperties = value
[ValidationOptionAttribute(ValidationOption.Required)]
public SPWorkflowTaskProperties AfterProperties { get; set; }
Property Value
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
Remarks
This property is empty for tasks that have been deleted.
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