Home Cooker Classes Others Rice CookerGX
Classes  >  file  >  Exists
file class : Exists getter

Description

Gets the value that indicates whether the file is exist.

Syntax

fileInstance.Exists

Arguments

None

Return value

ClassDescription
boolValue that indicates whether the file is exist.

Sample code

//anyFile is a instance of file type.

bool exist = anyFile.Exists;

Notes

It's a wrapper of the System.IO.FileInfo.Exists.

If the file is already exist, return true. Otherwise, return false.

Links for reference

Copyright © Rice All rights reserved.