Convert a String value to an Enum.

Syntax

ISTextUtilities.StringToEnum(value, enumType, [fallbackValue])

Parameters

NameTypeOptionalByRefDescription
value String The String value.
enumType Type The Enum Type.
fallbackValue Object Optional A Fallback Value for if the value parameter is blank or invalid. If omitted, a value of 0 is assumed.

Return Value

Integer

An Integer that is guaranteed to be able to be DirectCast to the specified enumType.

Member of:
ISTextUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0