**System.Enum.GetName(typeof(ELocationType), ELocationType.Remote);**
一、根据值获取名称。
System.Enum.GetName(typeof(ELocationType), ELocationType.Remote);
二、获取所有名称。
string[] lstStr = Enum.GetNames(typeof(ELocationType));
三、根据字符串获取枚举。
ELocationType aaa = (ELocationType)System.Enum.Parse(typeof(ELocationType), "Local");