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.
namespace Math
parameter assemblyName ( String ) : Name of the assembly.
typeName ( String ) : Fully qualified name of the type.
value ( String ) : The string which an enum is searched for.
return value 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

Trigger - Add MIDi trigger:

Math.ToEnum(“”,“Avolites.Menus.MenuEventTypes”, “OnSelect”)

This returns the enum value which corresponds with the name 'OnSelect', of the MenuEventTypes

Also used in
Remarks