at

Returns a reference to the MetadataElement whose standard key matches the standard_key argument. Throws std::out_of_range if there is no matching element in the list.

Syntax

const MetadataElement& at(MetadataKey standard_key) const;