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)
'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
)
web
Type: Microsoft.SharePoint.SPWebThe SharePoint 2010 site on which the workflow template is located.
Type: System.Collections.Specialized.StringCollection
A StringCollection that represents the collection of status choices.
This method gets the list of status choices for the website specified by the web parameter.
Microsoft.SharePoint.Workflow namespace
Workflows in Windows SharePoint Services
Workflow Development for Windows SharePoint Services
Workflow Object Model in Windows SharePoint Services Overview