User Tools

Site Tools


api:dk11:delphi:gisinternals.safedirectoryexists_string

Table of Contents

SafeDirectoryExists method

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

Safe version of DirectoryExits.

Syntax

// Delphi
function SafeDirectoryExists(
  const _dir : String
) : Boolean;
// C++ Builder
extern DELPHI_PACKAGE bool SafeDirectoryExists(
  const UnicodeString _dir
);

Parameters

Name Type Description
_dir String dir path to be verified

Result

Type Description
Boolean True if directory exists.

Remarks

Under .NET DirectoryExits can throw exception if path is not properly formed

2017/09/04 11:15