Aspose::Pdf::DataEditor::DictionaryEditor::Remove metod

DictionaryEditor::Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) method

Tar bort den första förekomsten av ett specifikt objekt från DictionaryEditor.

bool Aspose::Pdf::DataEditor::DictionaryEditor::Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>> &item) override
ParameterTypBeskrivning
itemconst System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&Objektet som ska tas bort från DictionaryEditor.

ReturnValue

true om objektet togs bort framgångsrikt från DictionaryEditor; annars false. Denna metod returnerar också false om objektet inte hittas i den ursprungliga DictionaryEditor.

Se även

DictionaryEditor::Remove(const System::String&) method

Tar bort elementet med den angivna nyckeln från DictionaryEditor.

bool Aspose::Pdf::DataEditor::DictionaryEditor::Remove(const System::String &key) override
ParameterTypBeskrivning
nyckelconst System::String&Nyckeln för elementet som ska tas bort.

ReturnValue

True om elementet togs bort framgångsrikt; annars false. Denna metod returnerar också false om nyckeln inte hittades i den ursprungliga ordboken eller om nyckeln inte är redigerbar.

Se även