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
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Property Overwrite As Boolean
Get
Set
'Usage
Dim instance As FileCreationInformation
Dim value As Boolean
value = instance.Overwrite
instance.Overwrite = value
[RemoteAttribute]
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. The default value is