OfficeTask.Subject Property

Returns the value of the Subject property of a workflow task.

Namespace:  Microsoft.Office.Workflow.Actions
Assembly:  Microsoft.Office.Workflow.Actions (in Microsoft.Office.Workflow.Actions.dll)

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property Subject As String
    Get
    Set
'Usage
Dim instance As OfficeTask
Dim value As String

value = instance.Subject

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

Property Value

Type: System.String
The workflow task Subject property.

Remarks

This property is used as the title of the task list items that are created for the task process. If this value is null or empty, a default value that is comprised of the ItemId and ListId properties will be returned.

See Also

Reference

OfficeTask Class

OfficeTask Members

Microsoft.Office.Workflow.Actions Namespace