Click or drag to resize

PdfTypeDictionaryTryGetValue Method

Gets the value associated with the specified key.

Namespace: Patagames.Pdf.Net.BasicTypes
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public bool TryGetValue(
	string key,
	out PdfTypeBase 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

Boolean
true if the object that implements Dictionary contains an element with the specified key; otherwise, false.

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionThe key is null.
See Also