You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > ContentBlock Class > ContentBlock Properties > CacheInterval
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ContentBlock.CacheInterval Property

Sets the amount of time the server control’s data is cached. The default is 0 (zero). This is the amount of time, in seconds, a control’s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred).

C#
[Bindable(true)]
[Category("Ektron")]
[Description("Sets the amount of time the server control�s data is cached. The default is 0 (zero). This is the amount of time, in seconds, a control�s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred).")]
[DefaultValue(0)]
[Personalizable(), WebBrowsable()]
public virtual double CacheInterval;
Visual Basic
<Bindable(true)>
<Category("Ektron")>
<Description("Sets the amount of time the server control�s data is cached. The default is 0 (zero). This is the amount of time, in seconds, a control�s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred).")>
<DefaultValue(0)>
<Personalizable(), WebBrowsable()>
Public virtual Property CacheInterval() As double
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!