Sets the creation date and time for the specified file or directory.
Namespace: Composite.Core.IOAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
| C# |
|---|
public static void SetCreationTime(
string path,
DateTime creationTime
) |
| Visual Basic |
|---|
Public Shared Sub SetCreationTime ( _
path As String, _
creationTime As DateTime _
) |
| Visual C++ |
|---|
public:
static void SetCreationTime(
String^ path,
DateTime creationTime
) |
Parameters
- path
- Type: System..::..String
The file or directory for which to set the creation date and time information.
- creationTime
- Type: System..::..DateTime
An object that contains the value to set for the creation date and time of path. This value is expressed in local time.
See Also