string day = "Wednesday"; // the input string value DayOfWeek dayOfWeek = Altaxo.GetEnum(day); // get the DayOfWeek enumeration value for the input string
int i = 3; // the input numeric value CustomEnum customEnum = Altaxo.GetEnumBoth examples use the GetEnum method from the Altaxo C# package library to retrieve the appropriate enumeration value.(i); // get the CustomEnum value for the input integer