Visual Basic (Declaration) | |
---|---|
Public Property CleanupMinimumAge As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int CleanupMinimumAge {get; set;} |
C# | Copy Code |
---|---|
//delete all temp files older than 10 minutesF |
Visual Basic | Copy Code |
---|---|
'delete all temp files older than 10 minutes |
When .netCHARTING renders a chart a temporary file is created in the directory set by the TempDirectory property. The CleanupMinimumAge ensures that only files older than this age, in minutes, will be deleted.