Click or drag to resize
FileInfoCopyToInternal Method
Copies an existing file to a new file, allowing the overwriting of an existing file.

Namespace: CMS.FileSystemStorage
Assembly: CMS.IO (in CMS.IO.dll) Version: 12.0.0
Syntax
C#
protected override FileInfo CopyToInternal(
	string destFileName,
	bool overwrite
)

Parameters

destFileName
Type: SystemString
Destination file name
overwrite
Type: SystemBoolean
Whether overwriting is allowed

Return Value

Type: FileInfo
See Also