CreateTaskWithContentType.TaskProperties property

Gets or sets the workflow task properties that are associated with the task list item that is being created.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property TaskProperties As SPWorkflowTaskProperties
    Get
    Set
'Usage
Dim instance As CreateTaskWithContentType
Dim value As SPWorkflowTaskProperties

value = instance.TaskProperties

instance.TaskProperties = value
[ValidationOptionAttribute(ValidationOption.Required)]
public SPWorkflowTaskProperties TaskProperties { get; set; }

Property value

Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties
A collection of workflow task properties that are contained in a SPWorkflowTaskProperties object.

Remarks

This property is promoted through a DependencyProperty property.

Some examples of the properties stored in this object are: [AssignedTo], [DueDate], [TaskItemId], [Title], and [TaskType].

See also

Reference

CreateTaskWithContentType class

CreateTaskWithContentType members

Microsoft.SharePoint.WorkflowActions namespace