_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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration _VSFILECHANGEFLAGS
[FlagsAttribute]
public enum _VSFILECHANGEFLAGS
[FlagsAttribute]
public enum class _VSFILECHANGEFLAGS
[<FlagsAttribute>]
type _VSFILECHANGEFLAGS
public enum _VSFILECHANGEFLAGS

Members

Member name Description
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_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.)
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_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_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.)

Remarks

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace