File description

lth
lth
Vote:
 

Hi,

When adding a new file you can write a description, author and publisher.

I can get the author from Summary.Author, but how do I get the description and publisher in the code behind?

Lea

#19709
Apr 29, 2008 9:19
Vote:
 

Hi!

To access those properties you'll need to work against the Dictionary property of your Summary, ie Summary.Dictionary["publisher"].

The reason for that is that description and publisher are custom meta data that are defined in the summary.config file linked in from web.config to your virtual path provider.

#19711
Apr 29, 2008 10:04