10 January 2011

Check if Configkey is enabled

To check in code if a configuration key is enabled just call this funktion:
if (isConfigurationkeyEnabled(configurationkeynum(myConfigKey)) == true)
{
  //do something...
}
Post a Comment