Share via


SPWorkflowTemplate.GetStatusChoices Method

Returns a string collection of the possible status choices for 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 Function GetStatusChoices ( _
    web As SPWeb _
) As StringCollection
'Usage
Dim instance As SPWorkflowTemplate
Dim web As SPWeb
Dim returnValue As StringCollection

returnValue = instance.GetStatusChoices(web)
public StringCollection GetStatusChoices(
    SPWeb web
)

Parameters

Return Value

Type: System.Collections.Specialized.StringCollection
A StringCollection that represents the collection of status choices.

Remarks

This method gets the list of status choices for the website specified by the web parameter.

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