ITextDocument.FileActionOccurred Event

Occurs when the document has been loaded from or saved to disk.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

event EventHandler<TextDocumentFileActionEventArgs> FileActionOccurred

You may not call the Reload, Save, or SaveAs methods to perform another file action while handling this event.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft