Home Notices Documents Classes Download Others Rice
Classes  >  file  >  Create()
file class : Create() method

Description

Creates a file.

Syntax

fileInstance.Create()

Arguments

None

Return value

None

Sample code

1:

file f = new file("c:\somewhere...");

2:

f.Create();

Notes

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

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

Links for reference

Copyright © Rice All rights reserved.