User Tools

Site Tools


api:dk11:delphi:gisinternals.readsqlparamsfrompath_string_tgis_strings_boolean

Table of Contents

ReadSQLParamsFromPath(String; TGIS_Strings; Boolean) method

DK11 for Delphi | GisInternals.ReadSQLParamsFromPath | Overloads | Enums | Fields | Methods | Types

Read all parameters from TTKLS or TTKPS file. If _path is not pointing to the file then will be treated as CRLF or '\n' delimited list of parameters.

Syntax

// Delphi
function ReadSQLParamsFromPath(
  const _path : String;
  const _lst : TGIS_Strings;
  const _nofile : Boolean
) : Integer; overload;
// C++ Builder
extern DELPHI_PACKAGE int ReadSQLParamsFromPath(
  const UnicodeString _path,
  TGIS_Strings* const _lst,
  const bool _nofile
) /* overload */;

Parameters

Name Type Description
_path String path or list of parameters
_lst TGIS_Strings lst list to hold read parameters; could be nil
_nofile Boolean If True then file based params will be ignored (only path String will be parsed)

Result

Type Description
Integer Provider ID.
2017/09/04 11:15