Method Contains
Contains<T>(string, Func<T, bool>)
Returns true if the given key contains a PdfItem of type T matching a predicate.
public bool Contains<T>(string key, Func<T, bool> predicate) where T : PdfItem
Parameters
keystringThe key in the dictionary to work with.
predicateFunc<T, bool>The predicate, that shall be true for the desired item(s).
Returns
- bool
Type Parameters
T
Contains<T>(string, object)
Returns true if the given key contains a PdfItem of type T, that is equal to value.
public bool Contains<T>(string key, object value) where T : PdfItem
Parameters
keystringThe key in the dictionary to work with.
valueobjectThe value, the desired item(s) shall be equal to.
Returns
- bool
Type Parameters
T
Contains<T>(string, T)
Returns true if the given key contains a PdfItem of type T, that is equal to value.
public bool Contains<T>(string key, T value) where T : PdfItem
Parameters
keystringThe key in the dictionary to work with.
valueTThe value, the desired item(s) shall be equal to.
Returns
- bool
Type Parameters
T