ICacheTryGetValueTEntry Method |
Gets the entry associated with this key if present.
Namespace: GroupDocs.Viewer.CachingAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxbool TryGetValue<TEntry>(
string key,
out TEntry value
)
Function TryGetValue(Of TEntry) (
key As String,
<OutAttribute> ByRef value As TEntry
) As Boolean
generic<typename TEntry>
bool TryGetValue(
String^ key,
[OutAttribute] TEntry% value
)
abstract TryGetValue :
key : string *
value : 'TEntry byref -> bool
Parameters
- key
- Type: SystemString
A key identifying the requested entry. - value
- Type: TEntry
The located value or null.
Type Parameters
- TEntry
- Type of entry.
Return Value
Type:
Boolean if the key was found.
See Also