TStrings.Names

Name parts of the name-value pairs in the list.

Declaration

Source position: classesh.inc line 777

public Property
  Names[Index: Integer]: string;

Description

Names provides indexed access to the names of the name-value pairs in the list. It returns the name part of the Index-th string in the list.

Remark

The index is not an index based on the number of name-value pairs in the list. It is the name part of the name-value pair a string Index in the list. If the string at position Index is not a name-value pair (i.e. does not contain the equal sign (=)), then an empty name is returned. !!!

See also

Name Description
TStrings.IndexOfName Finds the index of a name in the name-value pairs.
TStrings.Values Value parts of the name-value pairs in the list.

results matching ""

    No results matching ""