DictionaryEditor.Remove

Remove(string)

Removes the element with the specified key from the DictionaryEditor.

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 DictionaryEditor.

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

Return Value

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

See Also