Home Cooker Classes Others Rice CookerGX
Classes  >  file  >  file(string)
file class : file(string) fitter

Description

Return a file type instance that is initialized by the path to the file.

Syntax

new file(string pathToFile)

Arguments

ClassNameDescription
stringpathToFileA path to any file

Return value

ClassDescription
fileA file type instance that is initialized.

Sample code

file fileInstance = new file("path to any file");

Notes

It's a wrapper of the System.IO.FileInfo.FileInfo(String).

Links for reference

Copyright © Rice All rights reserved.