Partilhar via


DictTable.Enabled Method

Definition

Returns a value that indicates whether the table is enabled.

public:
 virtual bool Enabled();
public virtual bool Enabled ();
abstract member Enabled : unit -> bool
override this.Enabled : unit -> bool
Public Overridable Function Enabled () As Boolean

Returns

true if the table is enabled; otherwise, false.

Remarks

The following example shows the retrieval of the value that indicates whether the table is enabled.

DictTable dt; 
dt = new DictTable(tablenum(CustTable)); 
if (dt) 
{ 
    print (strfmt("The table is %1.", dt.enabled() ? "enabled" : "not enabled")); 
}

Applies to