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

Description

Gets the value that indicates whether the directory is exist.

Syntax

directoryInstance.Exists

Arguments

None

Return value

ClassDescription
boolValue that indicates whether the directory is exist.

Sample code

//anyDirectory is a instance of directory type.

bool exist = anyDirectory.Exists;

Notes

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

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

Links for reference

Copyright © Rice All rights reserved.