PartMetadataAttribut vs. ExportAttribute and ExportMetadataAttribute

Aug 30, 2013 at 6:28 PM
I have created my own custom FilteredCatalog, like that shown on the MEF CodePlex site (https://mef.codeplex.com/wikipage?title=Filtering%20Catalogs&referringTitle=Guide) using the PartMetadataAttribute like so:

[PartMetadata("KeyName", "KeyValue", Export]

In the documentation for the PartMetadataAttribute it doesn't show the 'Export' or anything else for that matter, other than the Key and Value.

My question is this: Does the use of the 'Export' in the PartMetadataAttribute accomplish the same thing as using an explicit [ExportAttribute]? Can or should I use both?

Thanks