file::exists

[This is preliminary documentation and subject to change.]

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.92.4509.0)