共用方式為


SPWorkflowTemplate.AssociationData Property

Gets or sets the association data for workflow associations based on this workflow template.

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

Syntax

'Declaration
Public Property AssociationData As String
    Get
    Set
'Usage
Dim instance As SPWorkflowTemplate
Dim value As String

value = instance.AssociationData

instance.AssociationData = value
public string AssociationData { get; set; }

Property Value

Type: System.String
A String that represents the association data.

Remarks

Association data is any custom, valid XML data to pass to the workflow association form. The association form that you specify for the workflow must be able to parse the data.

For more information, see Workflow Association and Initiation Forms (Sharepoint Foundation).

See Also

Reference

SPWorkflowTemplate Class

SPWorkflowTemplate Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation