RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IValuesListAdapter.GetListNameOfValue Method

Returns the name associated with a specified value.

Pascal
function GetListNameOfValue(Value: Variant): string;
C++
__fastcall AnsiString GetListNameOfValue(Variant Value);

GetListNameOfValue looks for a name/value pair with the specified value and returns the name part.  

Value is the value part of the name/value pair whose name you want. 

If Value does not identify a name/value pair with a name, GetListNameOfValue returns an empty string. 

 

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