DirectoryCopyTimestamps Method (String, String, Boolean, PathFormat) |
[AlphaFS] Transfers the date and time stamps for the specified directories.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void CopyTimestamps(
string sourcePath,
string destinationPath,
bool modifyReparsePoint,
PathFormat pathFormat
)
Public Shared Sub CopyTimestamps (
sourcePath As String,
destinationPath As String,
modifyReparsePoint As Boolean,
pathFormat As PathFormat
)
public:
static void CopyTimestamps(
String^ sourcePath,
String^ destinationPath,
bool modifyReparsePoint,
PathFormat pathFormat
)
static member CopyTimestamps :
sourcePath : string *
destinationPath : string *
modifyReparsePoint : bool *
pathFormat : PathFormat -> unit
Parameters
- sourcePath
- Type: SystemString
The source directory to get the date and time stamps from. - destinationPath
- Type: SystemString
The destination directory to set the date and time stamps. - modifyReparsePoint
- Type: SystemBoolean
If , the date and time information will apply to the reparse point (symlink or junction) and not the directory linked to. No effect if destinationPath does not refer to a reparse point. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Remarks This method uses BackupSemantics flag to get Timestamp changed for directories.
See Also