This project has moved and is read-only. For the latest updates, please go here.

Getting at All the Metadata Available

Jul 26, 2010 at 7:47 PM

[I posted this question back on the 14th, but didn't get any answers, so I'll try again...}

If I import using Lazy or ExportFactory and the specified metadata view interface contains a subset of the metadata properties which were actually contained in the export, is there any way to then get at the additional metadata properties without instantiating an instance of the exported class (or resorting to "IDictionary<string, object>" which does contain all the metadata)?




Jul 26, 2010 at 10:33 PM

The IDictionary option is perfect for getting all the metadata. What is the problem?


Jul 27, 2010 at 12:36 PM

Just trying to make sure I'm using the best available technique.  If there were a way to retrieve the metadate using a specified metadata view I think that would be preferable, but if the IDictionary is the best we have in this case, I can use that.