Aspose::Pdf::Utils::DictionaryEditor::Remove method
Contents
[
Hide
]DictionaryEditor::Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<PublicData::ICosPdfPrimitive>>&) method
Removes the first occurrence of a specific object from the DictionaryEditor.
bool Aspose::Pdf::Utils::DictionaryEditor::Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<PublicData::ICosPdfPrimitive>> &item) override
Parameter | Type | Description |
---|---|---|
item | const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<PublicData::ICosPdfPrimitive>>& | The object to remove from the DictionaryEditor. |
ReturnValue
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
- Class KeyValuePair
- Class String
- Typedef SharedPtr
- Class ICosPdfPrimitive
- Class DictionaryEditor
- Namespace Aspose::Pdf::Utils
- Library Aspose.PDF for C++
DictionaryEditor::Remove(const System::String&) method
Removes the element with the specified key from the DictionaryEditor.
bool Aspose::Pdf::Utils::DictionaryEditor::Remove(const System::String &key) override
Parameter | Type | Description |
---|---|---|
key | const System::String& | The key of the element to remove. |
ReturnValue
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
- Class String
- Class DictionaryEditor
- Namespace Aspose::Pdf::Utils
- Library Aspose.PDF for C++