.netCHARTING v10.7 Documentation
Example 


dotnetCHARTING Namespace > Chart Class : CleanupMinimumAge Property
CleanupMinimumAge Property (Chart)
Gets or sets the minimum number of minutes images are stored in the TempDirectory before they are deleted.
Syntax
'Declaration
 
Public Property CleanupMinimumAge As Integer
'Usage
 
Dim instance As Chart
Dim value As Integer
 
instance.CleanupMinimumAge = value
 
value = instance.CleanupMinimumAge
public int CleanupMinimumAge {get; set;}
Remarks
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.
Example
//delete all temp files older than 10 minutes
Chart.CleanupMinimumAge = 10;
'delete all temp files older than 10 minutes
Chart.CleanupMinimumAge = 10
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also