CacheSetBool(String, Boolean, Double) Method
Save a boolean value in the cache with the given name and time to live.
Namespace: ASCOM.UtilitiesAssembly: ASCOM.Cache (in ASCOM.Cache.dll) Version: 7.1.3+4851.c5da65c2b
public void SetBool(
string Key,
bool Value,
double CacheTime
)
Public Sub SetBool (
Key As String,
Value As Boolean,
CacheTime As Double
)
public:
virtual void SetBool(
String^ Key,
bool Value,
double CacheTime
) sealed
Parameters
- Key String
- Name of this item in the cache. The key is case sensitive.
- Value Boolean
- Boolean value to be stored in the cache.
- CacheTime Double
- Time in seconds before the item will be automatically removed from the cache.
Any existing item in the cache with the same name will be overwritten.