| IAdhocCacheServiceTryGetT Method |
Try to fetch key from the cache
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax bool TryGet<T>(
string key,
out T value
)
Function TryGet(Of T) (
key As String,
<OutAttribute> ByRef value As T
) As Boolean
generic<typename T>
bool TryGet(
String^ key,
[OutAttribute] T% value
)
abstract TryGet :
key : string *
value : 'T byref -> bool
Parameters
- key
- Type: SystemString
The key of the object to attempt to fetch - value
- Type: T
The fetched value
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:SanteDB.Core.Services.IAdhocCacheService.TryGet``1(System.String,``0@)"]
Return Value
Type:
BooleanTrue if the object was fetched
See Also