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)
Syntax
声明
Event FileActionOccurred As EventHandler(Of TextDocumentFileActionEventArgs)
event EventHandler<TextDocumentFileActionEventArgs> FileActionOccurred
event EventHandler<TextDocumentFileActionEventArgs^>^ FileActionOccurred {
void add (EventHandler<TextDocumentFileActionEventArgs^>^ value);
void remove (EventHandler<TextDocumentFileActionEventArgs^>^ value);
}
abstract FileActionOccurred : IEvent<EventHandler<TextDocumentFileActionEventArgs>,
TextDocumentFileActionEventArgs>
JScript does not support events.
Remarks
You may not call the Reload, Save, or SaveAs methods to perform another file action while handling this event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.