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
public bool OverwriteExistingFiles {get; set;}
get_OverwriteExistingFiles();
set_OverwriteExistingFiles(value);
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2