Home Cooker Classes Others Rice CookerGX
Classes  >  file  >  Create()
file class : Create() method

Description

Create a file.

Syntax

fileInstance.Create()

Arguments

None

Return value

None

Sample code

//anyFile is a instance of file type.

file anyFile = new file("Any path");

anyFile.Create();

Notes

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

If the file already exists, the contents of the file will be cleared.

Links for reference

Copyright © Rice All rights reserved.