Leadtools.SharePoint.Client Namespace > SharePointClient Class : OverwriteExistingFiles Property |
public bool OverwriteExistingFiles {get; set;}
'Declaration Public Property OverwriteExistingFiles As Boolean
'Usage Dim instance As SharePointClient Dim value As Boolean instance.OverwriteExistingFiles = value value = instance.OverwriteExistingFiles
If the value of OverwriteExistingFiles is false and item with same name as the uploaded item already exists in the SharePoint server folder, an exception will be thrown.
If the value of OverwriteExistingFiles is true and item with same name as the uploaded item already exists in the SharePoint server folder, then the existing item will be overwritten.
For an example, refer to SharePointClient.