VSTO document level customization, serverDocument1.CachedData.HostItems[namespace] is returning null RRS feed

  • Question

  • In my ThisDocument class, I have decorated the properties with [Cached] attributes. But when I am trying

    read these data islands using following code, hostItem1 is returning null.

    ServerDocument serverDocument1 = new ServerDocument(documentPath); CachedDataHostItem hostItem1 = serverDocument1.CachedData.HostItems["NameSpace"];

    Please let me know whats causing this issue?

    Monday, June 8, 2015 4:39 PM

All replies