共用方式為


SPWorkflowAssociation.ParentList Property

Returns the list on which the workflow association resides.

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 ParentList As SPList
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As SPList

value = instance.ParentList
public SPList ParentList { get; }

Property Value

Type: Microsoft.SharePoint.SPList
An SPList object that represents the list.

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