TryGetValue(CosString, out CosObject) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Looks up the key with the same bytes as key.

public bool TryGetValue(CosString key, [MaybeNullWhen(false)] scoped out CosObject value)

Parameters

key
CosString

The key.

value
CosObject

The value, resolved one level, when found.

Returns

Boolean
true when the tree holds the key.

Remarks

ISO 32000-2 §7.9.6 and Annex J.3.3: keys are compared byte by byte.