Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.5
|
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.