Click or drag to resize

CopyFileAction Fields

The CopyFileAction type exposes the following members.

Fields
  NameDescription
Public fieldErrorHandler
Specifies an error handling method in case an exception occures during the execution of the action.
(Inherited from BaseAction.)
Public fieldMode
Choose if the file should be copied or moved and if an existing file of the same name is overwritten.
Public fieldRunWithElevatedPrivileges
If enabled, the action is executed with elevated privileges.
(Inherited from ElevatedBaseAction.)
Public fieldSourceExpression
Specifies a SPFile, SPListItem, IListItemWrapper or URL (or IEnumarable of these) of the file(s) to be copied or moved.
Public fieldTargetUrlExpression
Specifies the destination URL. Optional {File.Name} is replaced by the source file name.
Top
See Also