file class : CreationTime getter

Description

Gets a string that indicates the date and time when the file was created.

Syntax

fileInstance.CreationTime

Arguments

None

Return value

ClassDescription
stringThe date and time when the file was created.

Sample code

1:

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

2:

string creationTime = f.CreationTime;

Notes

It's a wrapper of the System.IO.FileInfo.CreationTime property.

Links for reference

Copyright © Cooker All rights reserved.