Handle property

Project: I/O Utility Classes

Unit: PJFileHandle

Class: TPJFileHandle

Applies to: ~>1.0

property Handle: THandle;

Description

Handle used to access the file.

This handle is set when one of the constructors opens or creates a file successfully. The handle will have value INVALID_HANDLE_VALUE if there was an error opening the file.

Handles, and hence the related files, are closed when the TPJFileHandle instance is freed.