Error processing SSI file
LEADTOOLS SharePoint Client (Leadtools.SharePoint.Client assembly)

Show in webframe

OverwriteExistingFiles Property






Gets or sets a value that indicate whether to overwrite the existing item if it exists when uploading to SharePoint server.
Syntax
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:
property bool OverwriteExistingFiles {
   bool get();
   void set (    bool value);
}

Property Value

true to overwrite the existing item if it exists when uploading to SharePoint server, otherwise; false. Default value is true.
Remarks

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.

Example

For an example, refer to SharePointClient.

Requirements

Target Platforms

See Also

Reference

SharePointClient Class
SharePointClient Members

Error processing SSI file