DictionaryEditor.TryGetValue

DictionaryEditor.TryGetValue method

For access to simple data type like string, name, bool, number. Returns null for other types.

public bool TryGetValue(string key, out ICosPdfPrimitive value)
ParameterTypeDescription
keyStringKey value
valueICosPdfPrimitive&returns ICosPdfPrimitive for key or null.

Return Value

Returns true if ICosPdfPrimitive is like string, name, bool, number. Returns false for all other types.

See Also