Programming with Reflection
GetCommandProfile method
Syntax IsEnabled = object.GetCommandProfile(CmdName)
Determines whether the specified built-in function is enabled (executable) or disabled (not executable). Use the SetCommandProfile method to enable or disable a built-in function.
CmdName Argument Type: String
Required
The built-in function name.
IsEnabled Return Type: Enumeration
A value indicating whether the given built-in function is enabled or disabled. It will be one of the following:
rcEnabled
The function is enabled.
rcDisabled
The function is disabled.