Share via


EmailActivity.Subject property

Gets or sets the subject of the message.

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

Syntax

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

value = instance.Subject

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

Property value

Type: System.String
The text of the subject line of the message.

See also

Reference

EmailActivity class

EmailActivity members

Microsoft.SharePoint.WorkflowActions namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Activities Overview

Workflow Development Tools Comparison

Workflow Development in Office SharePoint Designer