ExtensionMethodsToTaskState Method

Scanjour Workflow4 Reference Manual
Convert a string to a TaskState value. Casing will be ignored

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax

public static TaskState ToTaskState(
	this string text
)

Parameters

text
Type: SystemString
The string to convert

Return Value

Type: TaskState
The TaskState, whose string representation (ignoring case) is the input parameter

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference