共用方式為


SPWorkflowAssociation.TaskListContentTypeId Property

Returns the content type ID of the content type assigned to the workflow task list.

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

Syntax

'Declaration
Public ReadOnly Property TaskListContentTypeId As SPContentTypeId
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As SPContentTypeId

value = instance.TaskListContentTypeId
public SPContentTypeId TaskListContentTypeId { get; }

Property Value

Type: Microsoft.SharePoint.SPContentTypeId
A SPContentTypeId object that represents the task list content type ID.

Remarks

For more information about content type IDs, see Content Type IDs.

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation