共用方式為


__VSDIRFLAGS2 Enum

Definition

Provides additional members for the __VSDIRFLAGS enumeration.

This enumeration supports a bitwise combination of its member values.

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

Fields

VSDIRFLAG_DeferredSaveProject 128

Project can be "zero-impact": permanent save is performed explicitly via File.SaveAll.

VSDIRFLAG_DontShowNameLocInfo 256

Doesn't show the name field or the static project location info field (useful flag for webs).

VSDIRFLAG_EnableCodeSeparation 1024

Enables the use code separation check box (NewWebItemDlg svc).

VSDIRFLAG_EnableLangDropdown 2048

Enables the language drop-down list (NewWebItemDlg svc).

VSDIRFLAG_EnableMasterPage 512

Enables the master page check box (NewWebItemDlg svc).

VSDIRFLAG_RequiresNewFolder 16

New folder is required—creation in an existing folder is not allowed.

VSDIRFLAG_SolutionTemplate 64

Template is for a solution rather than a project.

Remarks

Used to disable or enable the Name and Location fields on the Add New Item dialog box. These flags are used in the creation of a .vsdir file.

COM Signature

From vsshell80.idl:

Applies to