Function ====== Math.ToEnum ====== Enum Math.ToEnum(String assemblyName, String typeName, String value) ^ API | http://api.avolites.com/11.0/Math.ToEnum.html | ^ description | Converts a string to an enum. | ^ [[macros:namespace|namespace]] | [[macros:namespace:math]] | ^ parameter | assemblyName ( [[macros:type:string]] ) : Name of the assembly. | ^ ::: | typeName ( [[macros:type:string]] ) : Fully qualified name of the type. | ^ ::: | value ( [[macros:type:string]] ) : The string which an enum is searched for. | ^ return value | [[macros:type:enum]] | An assembly is kind of a building block of the Titan program - see https://docs.microsoft.com/en-us/dotnet/framework/app-domains/assemblies-in-the-common-language-runtime == Example in == [[macros:example:addmiditrigger]]: Math.ToEnum(“”,“Avolites.Menus.MenuEventTypes”, “OnSelect”) This returns the enum value which corresponds with the name 'OnSelect', of the [[macros:identifier:menueventtypes]] == Also used in == {{backlinks>.}} == Remarks == ~~DISCUSSION~~