FileGetCreationTime Method (KernelTransaction, String, PathFormat) |
[AlphaFS] Gets the creation date and time of the specified file.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static DateTime GetCreationTime(
KernelTransaction transaction,
string path,
PathFormat pathFormat
)
Public Shared Function GetCreationTime (
transaction As KernelTransaction,
path As String,
pathFormat As PathFormat
) As DateTime
public:
static DateTime GetCreationTime(
KernelTransaction^ transaction,
String^ path,
PathFormat pathFormat
)
static member GetCreationTime :
transaction : KernelTransaction *
path : string *
pathFormat : PathFormat -> DateTime
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file for which to obtain creation date and time information. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
DateTime
A
DateTime structure set to the creation date and time for the specified file. This value is expressed in
local time.
See Also