mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER

SobekCM_Item_Mover.MOve_Or_Copy Method



Moves all the applicable resource files from the current location to under the destination parent provided


Namespace: SobekCM.Resource_Object.Utilities
Assembly: SobekCM_Resource_Object (in SobekCM_Resource_Object.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
public static bool MOve_Or_Copy(
	SobekCM_Item_Mover..::..SobekCM_Item_Move_Type_Enum MoveOrCopy,
	string Source_Folder,
	string Destination_Parent,
	bool OverWrite,
	bool Include_TIFFs,
	out string ErrorMessage
)

Parameters

MoveOrCopy
Type: SobekCM.Resource_Object.Utilities..::..SobekCM_Item_Mover..::..SobekCM_Item_Move_Type_Enum
Flag indicates wheter to MOVE or COPY the files
Source_Folder
Type: System..::..String
Folder for the resource item, within which the METS file should exist
Destination_Parent
Type: System..::..String
Folder under which to create the new digital resource folder for the new files
OverWrite
Type: System..::..Boolean
Flag indicates if any existing files should be overwritten
Include_TIFFs
Type: System..::..Boolean
Flag indicates if TIFFs should be moved as well
ErrorMessage
Type: System..::..String%
Error message for errors that occur

Return Value

Type: Boolean
TRUE if successful, otherwise FALSE

Remarks

This does not read the MET to decide which files to move, it is just slightly smarter than a normal move

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )