Aspose::Pdf::Metadata::Add method

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

Adds pair with key and value into the dictionary.

void Aspose::Pdf::Metadata::Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>> &item) override
ParameterTypeDescription
itemconst System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<XmpValue>>&Item to be added.

See Also

Metadata::Add(const System::String&, const System::SharedPtr<System::Object>&) method

Adds value to metadata.

void Aspose::Pdf::Metadata::Add(const System::String &key, const System::SharedPtr<System::Object> &value)
ParameterTypeDescription
keyconst System::String&The key to add.
valueconst System::SharedPtr<System::Object>&Value which will be added.

See Also

Metadata::Add(const System::String&, const System::SharedPtr<XmpValue>&) method

Adds value to metadata.

void Aspose::Pdf::Metadata::Add(const System::String &key, const System::SharedPtr<XmpValue> &value) override
ParameterTypeDescription
keyconst System::String&The key to add.
valueconst System::SharedPtr<XmpValue>&Value which will be added.

See Also

Metadata::Add(const System::String&, const System::SharedPtr<XmpPdfAExtensionObject>&) method

Adds pdf extension to metadata.

void Aspose::Pdf::Metadata::Add(const System::String &prefix, const System::SharedPtr<XmpPdfAExtensionObject> &value)
ParameterTypeDescription
prefixconst System::String&The prefix of extension.
valueconst System::SharedPtr<XmpPdfAExtensionObject>&Value which will be added.

See Also