次の方法で共有


ITextDocument.FileActionOccurred Event

Definition

Occurs when the document has been loaded from or saved to disk.
You may not call Reload/Save/SaveAs to perform another file action while handling this event.

public:
 event EventHandler<Microsoft::VisualStudio::Text::TextDocumentFileActionEventArgs ^> ^ FileActionOccurred;
event EventHandler<Microsoft.VisualStudio.Text.TextDocumentFileActionEventArgs> FileActionOccurred;
member this.FileActionOccurred : EventHandler<Microsoft.VisualStudio.Text.TextDocumentFileActionEventArgs> 
Event FileActionOccurred As EventHandler(Of TextDocumentFileActionEventArgs) 

Event Type

Remarks

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

Applies to