Share via


AddFileOptions Class

Definition

The options that control the behavior when adding a file to a project.

public ref class AddFileOptions
[Windows::Foundation::Metadata::WebHostHidden]
class AddFileOptions
public class AddFileOptions
type AddFileOptions = class
Public Class AddFileOptions
Inheritance
AddFileOptions

Constructors

AddFileOptions()

Initializes a new instance of the AddFileOptions class. Instantiates a new instance of the AddFileOptions class.

Properties

AdditionalReplacementValues

Gets a dictionary of key/value pairs that will be used to replace tokens in the file. These values are additional to the values in TokenReplacementValues. In the case of conflicts, the values specified in AdditionalReplacementValues will override the TokenReplacementValues.

OpenOnComplete

Gets or sets a value indicating whether the file should be opened after being added. The default is false

SuppressOverwritePrompt

Gets or sets a value indicating whether to suppress prompting the end user if an existing file is detected and should be overwritten. The default is false

Applies to