Click or drag to resize

ConversionsToEnum Method (String, Type)

Converts an input string to an enumeration member

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Object ToEnum(
	string text,
	Type enumType
)

Parameters

text
Type: SystemString
The input text.
enumType
Type: SystemType
The enum type.

Return Value

Type: Object
An instance of the enumeration set to value.
Exceptions
ExceptionCondition
ArgumentNullExceptionenumType is null.
See Also