Aspose::Pdf::DataEditor::CosPdfDictionary::Remove metod

CosPdfDictionary::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 CosPdfDictionary.

bool Aspose::Pdf::DataEditor::CosPdfDictionary::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 CosPdfDictionary.

ReturnValue

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

Se även

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

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

bool Aspose::Pdf::DataEditor::CosPdfDictionary::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