Aspose::Pdf::Metadata::Contains method

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

Checks does specified key-value pair is contained in the dictionary.

bool Aspose::Pdf::Metadata::Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>> &item) const override
ParameterTypeDescription
itemconst System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&Key-value pair.

ReturnValue

true if this pauir was found.

See Also

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

Checks does key is contained in metadata.

bool Aspose::Pdf::Metadata::Contains(const System::String &key) const
ParameterTypeDescription
keyconst System::String&The key of entry to find.

ReturnValue

True if key is contained in the metadata.

See Also