Partilhar via


_VSFILECHANGEFLAGS Enum

Definition

Provides attribute information about a file that has been changed.

This enumeration supports a bitwise combination of its member values.

public enum class _VSFILECHANGEFLAGS
public enum class _VSFILECHANGEFLAGS
enum _VSFILECHANGEFLAGS
[System.Flags]
public enum _VSFILECHANGEFLAGS
[<System.Flags>]
type _VSFILECHANGEFLAGS = 
Public Enum _VSFILECHANGEFLAGS
Inheritance
_VSFILECHANGEFLAGS
Attributes

Fields

Name Value Description
VSFILECHG_Attr 1

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 2

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 4

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 8

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 16

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:

Applies to