Method AddOrReplace
AddOrReplace(MetadataCollection)
Adds or replaces metadata entries from the specified collection. For each metadata in the provided collection, if an entry with the same key exists in this collection, it is replaced; otherwise, it is added.
public void AddOrReplace(MetadataCollection collection)
Parameters
collection
MetadataCollectionThe collection containing metadata entries to add or replace.