dotnetCHARTING Send comments on this topic.
CleanupPeriod Property
See Also  Example
dotnetCHARTING Namespace > FileManager Class : CleanupPeriod Property


Gets or sets a TimeSpan object that determines the amount of time the TempDirectory folder would be checked for deleting old image files.

Syntax

Visual Basic (Declaration) 
Public Property CleanupPeriod As TimeSpan
Visual Basic (Usage)Copy Code
Dim instance As FileManager
Dim value As TimeSpan
 
instance.CleanupPeriod = value
 
value = instance.CleanupPeriod
C# 
public TimeSpan CleanupPeriod {get; set;}

Example

This example sets the cleanup period every 30 minutes.
C#Copy Code
Chart.FileManager.CleanupPeriod= new TimeSpan(0,30,0);
    
Visual BasicCopy Code
Chart.FileManager.CleanupPeriod= New TimeSpan(0,30,0)

See Also

© 2021 All Rights Reserved.