PdfTreeTKey, TValueTryGetValue Method |
Gets the value associated with the specified key.
Namespace: SautinSoft.PdfAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax public bool TryGetValue(
TKey key,
out TValue value
)
Public Function TryGetValue (
key As TKey,
<OutAttribute> ByRef value As TValue
) As Boolean
Parameters
- key TKey
- The key of the value to get.
- value TValue
- When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter.
Return Value
Boolean if the tree contains an entry with the specified key; otherwise,
.
Exceptions Exception | Condition |
---|
ArgumentNullException | key is . |
See Also