CosPdfDictionary.Remove

Remove(string)

Removes the element with the specified key from the CosPdfDictionary.

public bool Remove(string key)
ParameterTypeDescription
keyStringThe key of the element to remove.

Return Value

True if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original dictionary or key the key is not editable

See Also


Remove(KeyValuePair<string, ICosPdfPrimitive>)

Removes the first occurrence of a specific object from the CosPdfDictionary.

public bool Remove(KeyValuePair<string, ICosPdfPrimitive> item)
ParameterTypeDescription
itemKeyValuePair`2The object to remove from the CosPdfDictionary.

Return Value

true if item was successfully removed from the CosPdfDictionary; otherwise, false. This method also returns false if item is not found in the original CosPdfDictionary.

See Also