다음을 통해 공유


Move.OverwriteReadOnlyFiles Property

Definition

Whether to overwrite files in the destination that have the read-only attribute set. Default is to not overwrite.

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 files can be overwritten, otherwise, false.

Attributes

Remarks

The default is to not allow files to be overwritten.

Applies to