TokenInMemoryCacheTKey, TValueTryRemove(TKey, TValue) - метод
Attempts to remove the cache value associated with the specified key.
Пространство имён: Tessa.Tokens.CachingСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public virtual bool TryRemove(
TKey key,
out TValue value
)
Public Overridable Function TryRemove (
key As TKey,
<OutAttribute> ByRef value As TValue
) As Boolean
public:
virtual bool TryRemove(
TKey key,
[OutAttribute] TValue% value
)
abstract TryRemove :
key : 'TKey *
value : 'TValue byref -> bool
override TryRemove :
key : 'TKey *
value : 'TValue byref -> bool
- key TKey
- The key used to remove the cache value.
- value TValue
- The corresponding cache value if removal is successful; otherwise, .
Boolean if the value was successfully removed; otherwise,
.
ITokenCacheTKey, TValueTryRemove(TKey, TValue)