다음을 통해 공유


Touch.AlwaysCreate Property

Definition

Creates the file if it doesn't exist.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property bool AlwaysCreate { bool get(); void set(bool value); };
public bool AlwaysCreate { get; set; }
public bool AlwaysCreate { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.AlwaysCreate : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.AlwaysCreate : bool with get, set
Public Property AlwaysCreate As Boolean

Property Value

true if the Touch task creates any files that do not already exist; otherwise, false.

Attributes

Applies to