Copy a File.

Syntax

ISFileUtilities.CopyFile(sourceFileName, destinationFileName, [copyExclusive], [retainDateInformation])

Parameters

NameTypeOptionalByRefDescription
sourceFileName String The name of the Source File.
destinationFileName String The name of the Destination File.
copyExclusive Boolean Optional Indicates whether to check that the File is not currently open. If omitted, a value of True is assumed.
retainDateInformation Boolean Optional No longer used. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISFileUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0