CoreWebView2SaveAsUIShowingEventArgs.AllowReplace Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether to allow replacing an existing file at the target save file path.
public bool AllowReplace { get; set; }
member this.AllowReplace : bool with get, set
Public Property AllowReplace As Boolean
Property Value
Remarks
Setting this property to true allows existing files to be replaced. Setting this property to false will not replace existing files and will return FileAlreadyExists.