CacheGetDouble(String) Method

Immediatley retrieve a double value from the cache with the given name with no throttling.

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Cache (in ASCOM.Cache.dll) Version: 7.1.3+4851.c5da65c2b
C#
public double GetDouble(
	string Key
)

Parameters

Key  String
Name of this item in the cache. The key is case sensitive.

Return Value

Double
The requested double value, if present in the cache, or a "NotInCacheException" if there is no item in the cache that has the supplied name.

Exceptions

InvalidValueExceptionWhen Key is null or empty.
NotInCacheExceptionWhen there is no item in the cache with the supplied key.

See Also