NET Caching Library Help
Policy Property




KellermanSoftware.NetCachingLibrary Namespace > CacheInfo Class : Policy Property
Gets or sets the cache policy.
Syntax
'Declaration
 
Public Property Policy As System.Runtime.Caching.CacheItemPolicy
'Usage
 
Dim instance As CacheInfo
Dim value As System.Runtime.Caching.CacheItemPolicy
 
instance.Policy = value
 
value = instance.Policy
public System.Runtime.Caching.CacheItemPolicy Policy {get; set;}
public: __property System.Runtime.Caching.CacheItemPolicy* get_Policy();
public: __property void set_Policy( 
   System.Runtime.Caching.CacheItemPolicy* value
);
public:
property System.Runtime.Caching.CacheItemPolicy^ Policy {
   System.Runtime.Caching.CacheItemPolicy^ get();
   void set (    System.Runtime.Caching.CacheItemPolicy^ value);
}

Property Value

The cache policy.
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

Reference

CacheInfo Class
CacheInfo Members