DictTable.configurationKeyId Method
Returns the ID of the configuration key for the table.
Syntax
public ConfigurationKeyId configurationKeyId()
Run On
Called
Return Value
Type: ConfigurationKeyId Extended Data Type
The ID of the configuration key for the table; 0 (zero) if there is no configuration key for the table.
Examples
The following example shows the retrieval of the configuration key ID for a table.
DictTable dt;
DictConfigurationKey dck;
dt = new DictTable(tablenum(AddressCountryRegionBLWI));
if (dt)
{
if (0 != dt.configurationKeyId())
dck = new DictConfigurationKey(dt.configurationKeyId());
if (dck)
{
print (strfmt("The table's configuration key is %1.", dck.name()));
}
}