EnumUtility.Parse<T> method (1 of 2)

Parses the specified string.

public static T Parse<T>(string value)
    where T : struct, Enum
parameter description
T The enumerated value type.
value The string.

Return Value

A strongly typed enumerated value.

Remarks

This method matches case.

See Also


EnumUtility.Parse<T> method (2 of 2)

Parses the specified string.

public static T Parse<T>(string value, CaseSensitivity caseSensitivity)
    where T : struct, Enum
parameter description
T The enumerated value type.
value The string.
caseSensitivity The case sensitivity.

Return Value

A strongly typed enumerated value.

See Also