RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCheckConstraint.GetDisplayName Method

Retrieves the current text for a constraint.

Pascal
function GetDisplayName: string; override;
C++
virtual __fastcall AnsiString GetDisplayName();

Call GetDisplayName to retrieve the current text for a check constraint. GetDisplayName returns the current value of the ImportedConstraint property, unless it is an empty string. In that case it returns the current value of the CustomConstraint property. If it, too, is an empty string, GetDisplayName returns the class name of the object. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!