FormControl.configurationKeyEx Method
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.
Retrieves a list that contains the IDs of configuration keys that are in effect for the control.
public:
virtual Microsoft::Dynamics::Ax::Xpp::List ^ configurationKeyEx();
public virtual Microsoft.Dynamics.Ax.Xpp.List configurationKeyEx ();
abstract member configurationKeyEx : unit -> Microsoft.Dynamics.Ax.Xpp.List
override this.configurationKeyEx : unit -> Microsoft.Dynamics.Ax.Xpp.List
Public Overridable Function configurationKeyEx () As List
Returns
A list that contains the IDs of configuration keys that are in effect for the control.
Remarks
The returned list does not contain duplicate IDs. If the control is bound to a data source, the returned list of configuration key IDs also includes the configuration key ID for the table and field. The returned list also contains any configuration key IDs that are applied to the properties, extended data type, or enumType methods.
The following example shows how to retrieve the configuration key IDs for a control.
DictConfigurationKey dck;
configurationKeyId cki;
List list;
ListEnumerator enum;
// objCtrl previously assigned.
list = objCtrl.configurationKeyEx();
if (0 != list.elements())
{
enum = list.getEnumerator();
while (enum.moveNext())
{
dck = new DictConfigurationKey(enum.current());
if (dck)
{
print strfmt("Configuration Key ID: %1 Configuration Key Name: %2",
enum.current(),
dck.name() );
}
}
}