| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As TraceConfiguration Dim value As Boolean instance.DeleteOnLoad = value value = instance.DeleteOnLoad | |
| C# | |
|---|---|
[DataMemberAttribute(1)] public bool DeleteOnLoad {get; set;} | |
Property Value
true if existing log file should be deleted when the application configuration is loaded; otherwise, false.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x