Compartir a través de


DictTable.Configurationkeyid Method

Definition

Returns the ID of the configuration key for the table.

public:
 virtual int Configurationkeyid();
public virtual int Configurationkeyid ();
abstract member Configurationkeyid : unit -> int
override this.Configurationkeyid : unit -> int
Public Overridable Function Configurationkeyid () As Integer

Returns

The ID of the configuration key for the table; 0 (zero) if there is no configuration key for the table.

Remarks

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())); 
    } 
}

Applies to