อ่านในภาษาอังกฤษ

แชร์ผ่าน


Move.OverwriteReadOnlyFiles Property

Definition

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

C#
public bool OverwriteReadOnlyFiles { get; set; }
C#
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; }

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

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1