_VSFILECHANGEFLAGS Enum

Definition

Provides attribute information about a file that has been changed.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[System.Flags]
public enum _VSFILECHANGEFLAGS
Inheritance
_VSFILECHANGEFLAGS
Attributes

Fields

VSFILECHG_Add

Any file or directory name change in the watched directory or sub-tree causes a change notification wait operation to be returned. Changes include renaming, creating, or deleting a filename. (This is equivalent to FILE_NOTIFY_CHANGE_FILE_NAME | FILE_NOTIFY_CHANGE_DIR_NAME.)

VSFILECHG_Attr

Any attribute change in the watched directory or sub-tree causes a change notification wait operation to return. (This is equivalent to FILE_NOTIFY_CHANGE_ATTRIBUTES.)

VSFILECHG_Del

Any file deletion in the watched directory or sub-tree causes a change notification wait operation to be returned. (This is equivalent to FILE_NOTIFY_CHANGE_DELETE.)

VSFILECHG_Size

Any file-size change in the watched directory or sub-tree causes a change notification wait operation to return. The operating system detects a change in file size only when the file is written to the disk. For operating systems that use extensive caching, detection occurs only when the cache is sufficiently flushed. (This is equivalent to FILE_NOTIFY_CHANGE_SIZE.)

VSFILECHG_Time

Any change to the last write-time of files in the watched directory or sub-tree causes a change notification wait operation to return. The operating system detects a change to the last write-time only when the file is written to the disk. For operating systems that use extensive caching, detection occurs only when the cache is sufficiently flushed. (This is equivalent to FILE_NOTIFY_CHANGE_LAST_WRITE.)

Remarks

COM Signature

From vsshell.idl: