Hi Boni,
There doesn't appear to be a way to do so. But you might want to try
explicitly flagging the document as being dirty, this might force an update
of the underlying codemodel. Possibly calling
IVsPersistDocData2::SetDocDataDirty, or IVsPersistDocData::ReloadDocData. I
haven't actually tried this though. Just a suggestion off the top of my
head.
Sincerely,
Ed Dore [MSFT]
This post is 'AS IS' with no warranties, and confers no rights.
Boni - 20 Aug 2005 12:58 GMT
Dear Ed, dear all,
thank you for the suggestion. I would like to test it. The problem is that I
am creating addin. Also Sergey mentioned a great suggestion to get from
addin to VSIP
Dim _sp As Microsoft.VisualStudio.OLE.Interop.IServiceProvider = _DTE
Now ony method of _sp I see is QI.Which interfrace do I have to query in
order to get a document, on which I can call IVsPersistDocData2? (May be
just some pseudocode or ideas would already be would be great).
Hope I don't bother you.
Thanks a lot.
Boni
> Hi Boni,
>
[quoted text clipped - 11 lines]
>
> This post is 'AS IS' with no warranties, and confers no rights.