Share via


FileCreationInformation.Overwrite property

Gets or sets a value that specifies whether to overwrite an existing file of the same name in the same location as the one being added.

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

Syntax

'Declaration
Public Property Overwrite As Boolean
    Get
    Set
'Usage
Dim instance As FileCreationInformation
Dim value As Boolean

value = instance.Overwrite

instance.Overwrite = value
public bool Overwrite { get; set; }

Property value

Type: System.Boolean
Returns Booleantrue if overwrites an existing file of the same name in the location as the one being added; otherwise, returns false.

See also

Reference

FileCreationInformation class

FileCreationInformation members

Microsoft.SharePoint.Client namespace