EnumMapper.TryParse<TEnum> method

namespace: Serenity   assemblySerenity.Net.Core

Tries to parse the enum string.

public static bool TryParse<TEnum>(string key, out TEnum value)
parameter description
TEnum The type of the enum.
key The enumeration key or integer value.
value The value.

Return Value

If parsed successfully true

See Also