Share via


SubmitFileActivity.Action property

Gets or sets the action to indicate whether to move the file to the Destination, copy the file, or move the file and leave a link.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
<ValidationOptionAttribute(ValidationOption.Optional)> _
Public Property Action As String
    Get
    Set
'Usage
Dim instance As SubmitFileActivity
Dim value As String

value = instance.Action

instance.Action = value
[BrowsableAttribute(true)]
[ValidationOptionAttribute(ValidationOption.Optional)]
public string Action { get; set; }

Property value

Type: System.String
The action that indicates whether to move the file, copy the file, or move the file and leave a link.

Remarks

This must be parsed as one of the values in the SPOfficialFileAction enumeration.

See also

Reference

SubmitFileActivity class

SubmitFileActivity members

Microsoft.SharePoint.WorkflowActions namespace