Chili.Opf3 Send comments on this topic.
Duration Property
See Also 
Chili.Opf3.Caching Namespace > SimpleCacheAttribute Class : Duration Property




Gets and sets the expiration time (duration) in seconds. -1 is used for unlimited caching.

Syntax

Visual Basic (Declaration) 
Public Property Duration As Double
Visual Basic (Usage)Copy Code
Dim instance As SimpleCacheAttribute
Dim value As Double
 
instance.Duration = value
 
value = instance.Duration
C# 
public double Duration {get; set;}
Managed Extensions for C++ 
public: __property double get_Duration();
public: __property void set_Duration( 
   double value
);
C++/CLI 
public:
property double Duration {
   double get();
   void set (double value);
}

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also