User Tools

Site Tools


api:dk11:delphi:gisinternals.lstreadstring_tgis_stringlist_string_string

Table of Contents

LstReadString method

DK11 for Delphi | GisInternals.LstReadString | Enums | Fields | Methods | Types

Read parameter from list formatted as name=value.

Syntax

// Delphi
function LstReadString(
  const _list : TGIS_StringList;
  const _name : String;
  const _default : String
) : String;
// C++ Builder
extern DELPHI_PACKAGE UnicodeString LstReadString(
  TGIS_StringList* const _list,
  const UnicodeString _name,
  const UnicodeString _default
);

Parameters

Name Type Description
_list TGIS_StringList list to be read from
_name String parameter name
_default String default value to be used if name does not exists or is empty

Result

Type Description
String Parameter value or default if value is empty.
2018/08/11 01:13