FileHandle.IsValid

Declaration

public bool IsValid();

Returns

bool True, if this FileHandle represents an open file; otherwise, false.

Description

Reports whether this FileHandle instance is valid.

A FileHandle is invalid if the open operation failed or the FileHandle has been closed. (Creating a new FileHandle object is also invalid.)


Did you find this page useful? Please give it a rating: