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)

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 Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview