Compartir a través de


__VSDIRFLAGS2 Enumeration

Provides additional members for the __VSDIRFLAGS enumeration.

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.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaración
<FlagsAttribute> _
Public Enumeration __VSDIRFLAGS2
'Uso
Dim instance As __VSDIRFLAGS2
[FlagsAttribute]
public enum __VSDIRFLAGS2
[FlagsAttribute]
public enum class __VSDIRFLAGS2
[<FlagsAttribute>]
type __VSDIRFLAGS2
public enum __VSDIRFLAGS2

Members

Member name Description
VSDIRFLAG_RequiresNewFolder New folder is required—creation in an existing folder is not allowed.
VSDIRFLAG_SolutionTemplate Template is for a solution rather than a project.
VSDIRFLAG_DeferredSaveProject Project can be "zero-impact": permanent save is performed explicitly via File.SaveAll.
VSDIRFLAG_DontShowNameLocInfo Doesn't show the name field or the static project location info field (useful flag for webs).
VSDIRFLAG_EnableMasterPage Enables the master page check box (NewWebItemDlg svc).
VSDIRFLAG_EnableCodeSeparation Enables the use code separation check box (NewWebItemDlg svc).
VSDIRFLAG_EnableLangDropdown Enables the language drop-down list (NewWebItemDlg svc).

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:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace