Share via


CopyItem.Overwrite property

Gets or sets whether the item is overwritten if it already exists in the target list.

Namespace:  Microsoft.SharePoint.WorkflowServices.Activities
Assembly:  Microsoft.SharePoint.WorkflowServices.Activities (in Microsoft.SharePoint.WorkflowServices.Activities.dll)

Syntax

'Declaration
<RequiredArgumentAttribute> _
Public Property Overwrite As InArgument(Of Boolean)
    Get
    Set
'Usage
Dim instance As CopyItem
Dim value As InArgument(Of Boolean)

value = instance.Overwrite

instance.Overwrite = value
[RequiredArgumentAttribute]
public InArgument<bool> Overwrite { get; set; }

Property value

Type: System.Activities.InArgument<Boolean>
Returns true to overwrite existing version; otherwise, returns false.

See also

Reference

CopyItem class

CopyItem members

Microsoft.SharePoint.WorkflowServices.Activities namespace