Click or drag to resize
FileOperation Constructor
Constructor - Creates the file operation.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 9.0.0
Syntax
C#
public FileOperation(
	string objectType,
	string sourcePath,
	string destPath,
	FileOperationEnum operation,
	FileOperationParamaterTypeEnum parameterType = FileOperationParamaterTypeEnum.None,
	string parameter = null
)

Parameters

objectType
Type: SystemString
Object type
sourcePath
Type: SystemString
Source path
destPath
Type: SystemString
Destination path
operation
Type: CMS.CMSImportExportFileOperationEnum
File operation
parameterType (Optional)
Type: CMS.CMSImportExportFileOperationParamaterTypeEnum
Parameter type
parameter (Optional)
Type: SystemString
Operation parameter
See Also