SysAnalytics.Model/Enums/StringEnum.cs
/// <summary>
/// Gets the string value associated with the given enum value.
/// </summary>
/// <param name="valueName">Name of the enum value.</param>
/// <returns>String Value</returns>
Gets the string value associated with the given enum value.
Gets the string value associated with the given enum value .
public string GetStringValue(string valueName)
		{
			Enum enumType;
			string stringValue = null;
			try
			{
				enumType = (Enum) Enum.Parse(_enumType, valueName);
				stringValue = GetStringValue(enumType);
			}
			catch (Exception) { }
			return stringValue;
		}
public string GetStringValue ( string valueName ) { Enum enumType ; string stringValue = null ; try { enumType = ( Enum ) Enum . Parse ( _enumType , valueName ) ; stringValue = GetStringValue ( enumType ) ; } catch ( Exception ) { } return stringValue ; }
Gets the string value associated with the given enum value.
Gets the string value associated with the given enum value .
//Swallow!
None
valueName
string
Name of the enum value.
Name of the enum value .