ExtensionMethodsToImportance Method |
Convert a string to an Importance value. Casing will be ignored
Namespace: Scanjour.Workflow4.BaseAssembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic static Importance ToImportance(
this string text
)
<ExtensionAttribute>
Public Shared Function ToImportance (
text As String
) As Importance
public:
[ExtensionAttribute]
static Importance ToImportance(
String^ text
)
[<ExtensionAttribute>]
static member ToImportance :
text : string -> Importance
Parameters
- text String
- The string to convert
Return Value
ImportanceThe Importance, 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