System.Classes.TStrings.KeyNames
Delphi
property KeyNames[Index: Integer]: string read GetKeyName;
C++
__property System::UnicodeString KeyNames[int Index] = {read=GetKeyName};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStrings |
Description
Indicates the names from the list of strings that contains name-value pairs.
Use KeyNames to indicate the name part of a name-value pair accessed by index of a list of strings. If the string is not a name-value pair, KeyNames returns the complete string. Use Names if you prefer to get an empty string when you acces a string that is not a name-value pair.