Share via


TextDocumentFileActionEventArgs Class

Definition

Provides information for events that are raised when an ITextDocument has loaded from or saved to disk.

public ref class TextDocumentFileActionEventArgs : EventArgs
public class TextDocumentFileActionEventArgs : EventArgs
type TextDocumentFileActionEventArgs = class
    inherit EventArgs
Public Class TextDocumentFileActionEventArgs
Inherits EventArgs
Inheritance
TextDocumentFileActionEventArgs

Remarks

This class provides information for events such as FileActionOccurred.

Constructors

TextDocumentFileActionEventArgs(String, DateTime, FileActionTypes)

Initializes a new instance of a TextDocumentFileActionEventArgs for a file action event.

TextDocumentFileActionEventArgs(String, String, DateTime, FileActionTypes)

Initializes a new instance of a TextDocumentFileActionEventArgs for a rename file action event.

Properties

FileActionType

Gets the FileActionTypes that occurred.

FilePath

Gets the path to the file.

OldFilePath

Gets the old path to the file in the rename case (DocumentRenamed), otherwise equals to the FilePath.

Time

Gets the DateTime when the file action occurred.

Applies to