OverwriteOption enumeration

namespace: Serenity.Web   assemblySerenity.Net.Services

Enum that contains what to do when a file at desired path exists

public enum OverwriteOption


name value description
Disallowed 0 Raise an error
Overwrite 1 Overwrite the target file
AutoRename 2 Try to find a suitable name for the source file to be written

See Also