Search code examples
c#visual-studio-2010vstoms-officeribbon

How do you associate custom metadata to an MS Office file and have it persist even after the file closes In VSTO?


I need to store metadata about a Microsoft office file and have it persist even after the file is closed and re-opened. I am using VSTO 2007 and writing an addon for Microsoft Office ribbon. How can this be done?


Solution

  • If your metadata looks like a few key/value pairs, you could use Custom Properties.