PdfDictionaryTryGetValue Method |
Gets the value associated with the specified key.
Namespace: SautinSoft.Pdf.ObjectsAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.5
Syntaxpublic bool TryGetValue(
PdfName key,
out PdfBasicObject value
)
Public Function TryGetValue (
key As PdfName,
<OutAttribute> ByRef value As PdfBasicObject
) As Boolean
Parameters
- key PdfName
- The key of the value to get.
- value PdfBasicObject
- When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the Null value.
Return Value
Boolean if the
PdfDictionary contains an entry with the specified key; otherwise,
.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exceptions
See Also