共用方式為


CompleteTask.TaskOutcome Property

Gets or sets the outcome of the task that is marked as completed by the CompleteTask.

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

Syntax

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

value = instance.TaskOutcome

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

Property Value

Type: System.String
The outcome of the task that is marked as completed.

See Also

Reference

CompleteTask Class

CompleteTask Members

Microsoft.SharePoint.WorkflowActions Namespace

Other Resources

Workflow Activities for SharePoint Foundation

How SharePoint Foundation Processes Workflow Activities

Workflow Task Forms (SharePoint Foundation)