CacheTime Property  
 

Sets or returns the number of seconds provider and model information should remain cached.

Syntax

object.CacheTime [= value ]

Remarks

The CacheTime property is an Integer value that specifies the number of seconds provider information and model information should remain cached by the control.

The control may cache information such as provider capabilities, available models and model metadata to reduce unnecessary network requests and improve performance. Cached information may be reused until the cache interval expires.

In most cases, the default cache interval is appropriate and this property does not need to be changed. Reducing the cache time may increase network activity and provider requests, while increasing the cache time may delay visibility of changes such as newly available models or updated provider capabilities.

Setting this property to zero disables caching and forces the control to request updated provider and model information whenever needed.

Data Type

Integer (Int32)

See Also

ModelFlags Property, ModelName Property, GetFirstModel Method, GetNextModel Method