Behavior when encountering duplicate files in the Save Path.\r\nOverwrite - if possible, replace the existing file with the one being uploaded\r\nRename - Rename the new file according to the FileRenamePattern\r\nFail - Throw an exception when encountering an existing file, and immediately stop the upload in progress.
Syntax
Visual Basic (Declaration) | |
---|
<DartDescriptionAttribute("Behavior when encountering duplicate files in the Save Path.
Overwrite - if possible, replace the existing file with the one being uploaded
Rename - Rename the new file according to the FileRenamePattern
Fail - Throw an exception when encountering an existing file, and immediately stop the upload in progress")>
<DefaultValueAttribute()>
Public Property FileExistsBehavior As FileExistsBehavior |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As UploadManager
Dim value As FileExistsBehavior
instance.FileExistsBehavior = value
value = instance.FileExistsBehavior |
C# | |
---|
[DartDescriptionAttribute("Behavior when encountering duplicate files in the Save Path.
Overwrite - if possible, replace the existing file with the one being uploaded
Rename - Rename the new file according to the FileRenamePattern
Fail - Throw an exception when encountering an existing file, and immediately stop the upload in progress")]
[DefaultValueAttribute()]
public FileExistsBehavior FileExistsBehavior {get; set;} |
C++/CLI | |
---|
[DartDescriptionAttribute("Behavior when encountering duplicate files in the Save Path.
Overwrite - if possible, replace the existing file with the one being uploaded
Rename - Rename the new file according to the FileRenamePattern
Fail - Throw an exception when encountering an existing file, and immediately stop the upload in progress")]
[DefaultValueAttribute()]
public:
property FileExistsBehavior FileExistsBehavior {
FileExistsBehavior get();
void set ( FileExistsBehavior value);
} |
Property Value
The default value is Rename.
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also