共用方式為


CompleteTask.TaskId Property

Gets or sets the GUID of the task to complete.

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

Syntax

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

value = instance.TaskId

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

Property Value

Type: System.Guid

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)