Touch.ForceTouch Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Forces a touch even if the file to be touched is read-only.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
property bool ForceTouch { bool get(); void set(bool value); };
public bool ForceTouch { get; set; }
public bool ForceTouch { [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.ForceTouch : 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.ForceTouch : bool with get, set
Public Property ForceTouch As Boolean
Property Value
true
if the Touch
task forces a file touch even if the files are read-only; otherwise, false
.
- Attributes