Programming with Reflection

image\rwnprg32.gif GetCommandProfile method

 

Syntax IsEnabled = object.GetCommandProfile(CmdName)

 

Description

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.

Arguments

CmdName Argument Type: String
Required
The built-in function name.

Return

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.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command