System.Classes.TStrings.Names

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Names[Index: Integer]: string read GetName;

C++

__property System::UnicodeString Names[int Index] = {read=GetName};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TStrings

Description

Indicates the name part of strings that are name-value pairs.

When the list of strings for the TStrings object includes strings that are name-value pairs, read Names to access the name part of a string. Names is the name part of the string at Index, where 0 is the first string, 1 is the second string, and so on. If the string is not a name-value pair, Names contains an empty string.

See Also

Code Examples