ConfigurationKeySet Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ConfigurationKeySet class enables working with a tree of configuration keys.
public ref class ConfigurationKeySet : Microsoft::Dynamics::Ax::Xpp::XppObjectBase
[Microsoft.Dynamics.Ax.Xpp.KernelClass]
public class ConfigurationKeySet : Microsoft.Dynamics.Ax.Xpp.XppObjectBase
[<Microsoft.Dynamics.Ax.Xpp.KernelClass>]
type ConfigurationKeySet = class
inherit XppObjectBase
Public Class ConfigurationKeySet
Inherits XppObjectBase
- Inheritance
- Attributes
Remarks
When a new ConfigurationKeySet is created, a tree of configuration keys is created, where all keys are set by default to "enabled". The cnt method is used to loop through all configuration keys and count them. The cntID method is used to retrieve the IDs of the configuration keys. In situations in which a configuration key has been deleted and the key IDs are ID1, ID2, ID5, and so on, this method will distinguish the number of configuration keys compared to their IDs. When a new ConfigurationKeySet is created, all configuration keys are enabled. The system will then call the loadSystemSetup method, which scans the SysConfig table where the configuration types are stored. It loops through the configuration key setup and identifies what is enabled. Next, the enabled method is called. Every time a configuration key is disabled, all sub-configuration keys are also automatically disabled. In a situation in which a top node is enabled and one of the sub-nodes is disabled, the kernel will remember which configuration key sub-nodes were previously disabled whenever a top node is disabled.
Constructors
ConfigurationKeySet() | |
ConfigurationKeySet(IntPtr) | |
ConfigurationKeySet(Object[]) |
Fields
__k_ConfigurationKeySetId | |
kernelClass | (Inherited from XppObjectBase) |