Partilhar 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 SharePoint Foundation

Workflow Activities for SharePoint Foundation

Workflow Development Tools Comparison

Workflow Development in SharePoint Designer