Click or drag to resize

CopyFileAction Class

Provides functionality for copying/moving a document or list item.
Inheritance Hierarchy

Namespace:  Colygon.MatchPoint.WorkflowKit.Actions
Assembly:  Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2019.2.1.0
Syntax
C#
[SerializableAttribute]
public class CopyFileAction : BaseFileAction

The CopyFileAction type exposes the following members.

Constructors
  NameDescription
Public methodCopyFileAction
Initializes a new instance of the CopyFileAction class
Top
Properties
  NameDescription
Public propertyId (Inherited from BaseAction.)
Top
Methods
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
Remarks
This is a MatchPoint configuration class.
See Also