Click or drag to resize
FileOperationCollectionAdd Method (String, String, String, FileOperationEnum, FileOperationParamaterTypeEnum, String)
Adds the file operation to the list.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 11.0.0
Syntax
C#
public bool Add(
	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
Operation
parameterType (Optional)
Type: CMS.CMSImportExportFileOperationParamaterTypeEnum
Parameter type
parameter (Optional)
Type: SystemString
Operation parameter

Return Value

Type: Boolean
True if the operation was added.
See Also