file::exists

Determines whether the specified file exists.

Usage

bool file::exists(file)

Parameters

Name Type Description
file string The file to check.

Return Value

true if file refers to an existing file; otherwise, false.

Examples

Requirements

Assembly: NAnt.Core (0.91.4312.0)