共用方式為


VsRemoveFileFlags Enum

Definition

VSREMOVEFILEFLAGS, VSREMOVEFILEFLAGS2

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
NoFlags 0

No flags associated with the file.

IsDirectoryBased 1

Deprecated. Do not use.

RemoveFromSourceControlDoneExternally 2

Indicates the file has already been removed from source control.

IsSpecialFile 4

Special file, that is, an invisible file associated with another file in the project.

IsNestedProjectFile 8

Nested project (file), that is the file located at the root node of a nested project.

IsRemovedFromProjectOnly 16

This flag distinguishes two operations: "Remove From Project" and "Delete". If this flag is set, the file is removed from project, but still exists on disk.

Applies to