User Tools

Site Tools


api:dk11:delphi:gisinternals.safefileexists_string

Table of Contents

SafeFileExists method

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

Safe version of FileExits.

Syntax

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

Parameters

Name Type Description
_path String file path to be verified

Result

Type Description
Boolean True if file exists.

Remarks

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

2017/09/04 11:15