共用方式為


SPList.WorkflowAssociations Property

Gets the collection of workflow association objects that represents all the workflows that are associated with the list.

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

Syntax

'Declaration
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotNull)> _
Public ReadOnly Property WorkflowAssociations As SPWorkflowAssociationCollection
    Get
'Usage
Dim instance As SPList
Dim value As SPWorkflowAssociationCollection

value = instance.WorkflowAssociations
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
public SPWorkflowAssociationCollection WorkflowAssociations { get; }

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociationCollection
A collection of workflow associations.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace