 | IgnitionCacheAccessTryGetValueT Method |
Returns an entry from the cache, with an automatic cast to T.
Namespace: Ignition.UtilityAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntaxpublic bool TryGetValue<T>(
string key,
out T value
)
Public Function TryGetValue(Of T) (
key As String,
<OutAttribute> ByRef value As T
) As Boolean
public:
generic<typename T>
bool TryGetValue(
String^ key,
[OutAttribute] T% value
)
member TryGetValue :
key : string *
value : 'T byref -> bool Parameters
- key String
- A unique identifier for the cache entry to get.
- value T
- A reference to the cache entry that is identified by key, if the entry exists; otherwise, null.
Type Parameters
- T
Return Value
Booleantrue of the requested entry was found in the cache; otherwise
false.
See Also