| PdfTypeDictionaryTryGetValue Method |
Gets the value associated with the specified key.
Namespace: Patagames.Pdf.Net.BasicTypesAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax public bool TryGetValue(
string key,
out PdfTypeBase value
)
Public Function TryGetValue (
key As String,
<OutAttribute> ByRef value As PdfTypeBase
) As Boolean
public:
virtual bool TryGetValue(
String^ key,
[OutAttribute] PdfTypeBase^% value
) sealed
abstract TryGetValue :
key : string *
value : PdfTypeBase byref -> bool
override TryGetValue :
key : string *
value : PdfTypeBase byref -> bool
public final boolean TryGetValue(
String key,
/** @attribute OutAttribute */ /** @ref */PdfTypeBase value
)
function TryGetValue(key, value);
Parameters
- key String
- The key whose value to get.
- value PdfTypeBase
- When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
Booleantrue if the object that implements Dictionary contains an element with the specified key; otherwise, false.
Implements
IDictionaryTKey, TValueTryGetValue(TKey, TValue)Exceptions See Also