共用方式為


SPWorkflowTaskProperties.TaskType Property

Gets or sets the ID of the workflow task type in the workflow instance.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property TaskType As Integer
    Get
    Set
'Usage
Dim instance As SPWorkflowTaskProperties
Dim value As Integer

value = instance.TaskType

instance.TaskType = value
public int TaskType { get; set; }

Property Value

Type: System.Int32
An Integer that represents the workflow task type ID.

See Also

Reference

SPWorkflowTaskProperties Class

SPWorkflowTaskProperties Members

Microsoft.SharePoint.Workflow Namespace