FileOperationCollectionAdd Method (String, String, String, FileOperationEnum, FileOperationParamaterTypeEnum, String) |
Adds the file operation to the list.
Namespace: CMS.CMSImportExportAssembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 13.0.131
Syntax 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:
BooleanTrue if the operation was added.
See Also