Expand Minimize

_VSFILECHANGEFLAGS Enumeration

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.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[FlagsAttribute]
public enum _VSFILECHANGEFLAGS

Member nameDescription
VSFILECHG_AddAny 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_AttrAny 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_DelAny 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_SizeAny 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_TimeAny 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.)

COM Signature

From vsshell.idl:

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