Compartir a través de


Copy.OverwriteReadOnlyFiles Property

Definition

Gets or sets a value that indicates whether to overwrite files in the destination that have the read-only attribute set.

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

public:
 property bool OverwriteReadOnlyFiles { bool get(); void set(bool value); };
public bool OverwriteReadOnlyFiles { get; set; }
public bool OverwriteReadOnlyFiles { [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.OverwriteReadOnlyFiles : 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.OverwriteReadOnlyFiles : bool with get, set
Public Property OverwriteReadOnlyFiles As Boolean

Property Value

true if the Copy task should overwrite files even if they are marked as read only files; otherwise, false.

Attributes

Applies to