Aspose::Page::EPS::XMP::XmpMetadata::Contains 方法

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

检查指定的键值对是否包含在字典中。

bool Aspose::Page::EPS::XMP::XmpMetadata::Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>> &item) const override
ParameterType描述
itemconst System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&键值对。

ReturnValue

如果找到此对则返回 true。

另见

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

检查键是否包含在元数据中。

bool Aspose::Page::EPS::XMP::XmpMetadata::Contains(const System::String &key) const
ParameterType描述
const System::String&要查找的条目的键。

ReturnValue

如果元数据中包含该键则返回 True。

另见