Click or drag to resize

ProjectFoldersCopyItemsFromFolderToFolder Method

Copies project items from a source folder to a destination folder.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntax
C#
public void CopyItemsFromFolderToFolder(
	string sourceFolderName,
	string destinationFolderName,
	bool includeSubfolders = true,
	bool relocateReferences = true,
	OverwriteBehavior overwriteExistingItems = OverwriteBehavior.Rename,
	bool throwIfFolderDoesNotExists = true
)

Parameters

sourceFolderName  String
Name of the source folder.
destinationFolderName  String
Name of the destination folder.
includeSubfolders  Boolean  (Optional)
If set to true, items in subfolders are included in the operation, too.
relocateReferences  Boolean  (Optional)
If set to true, the references inbetween the copied items are maintained.
overwriteExistingItems  OverwriteBehavior  (Optional)
Specifies the action to take when a item already exists in the target location during the copy operation.
throwIfFolderDoesNotExists  Boolean  (Optional)
If true, and the provided folder does not exist, a ArgumentOutOfRangeException
See Also