TypedSortedListEx
TKey
,
TValue
TryGetValue Method
|
Attempts to get the value associated with the specified key.
Namespace:
Spire.Doc.Collections
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public bool TryGetValue(
TKey key,
out TValue value
)
Public Function TryGetValue (
key As TKey,
<OutAttribute> ByRef value As TValue
) As Boolean
public:
virtual bool TryGetValue(
TKey key,
[OutAttribute] TValue% value
) sealed
abstract TryGetValue :
key : 'TKey *
value : 'TValue byref -> bool
override TryGetValue :
key : 'TKey *
value : 'TValue byref -> bool
Parameters
-
key
-
Type:
TKey
-
value
-
Type:
TValue
Return Value
Type:
Boolean
Implements
IDictionary
TKey, TValue
TryGetValue(TKey, TValue
)
See Also