Aspose::Pdf::Metadata::Remove method

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

Removes key/value pair from the colleciton.

bool Aspose::Pdf::Metadata::Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>> &item) override
ParameterTypeDescription
itemconst System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&Key/value pair to be removed.

ReturnValue

true if pair was found and removed.

See Also

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

Removes entry from metadata.

bool Aspose::Pdf::Metadata::Remove(const System::String &key) override
ParameterTypeDescription
keyconst System::String&The key of entry to remove.

ReturnValue

True - if key removed; otherwise, false.

See Also