Expand Minimize
This topic has not yet been rated - Rate this topic

__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)
public enum __VSDIRFLAGS2
Member nameDescription
VSDIRFLAG_RequiresNewFolderNew folder is required—creation in an existing folder is not allowed.
VSDIRFLAG_SolutionTemplateTemplate is for a solution rather than a project.
VSDIRFLAG_DeferredSaveProjectProject can be "zero-impact": permanent save is performed explicitly via File.SaveAll.
VSDIRFLAG_DontShowNameLocInfoDoesn't show the name field or the static project location info field (useful flag for webs).
VSDIRFLAG_EnableMasterPageEnables the master page check box (NewWebItemDlg svc).
VSDIRFLAG_EnableCodeSeparationEnables the use code separation check box (NewWebItemDlg svc).
VSDIRFLAG_EnableLangDropdownEnables the language drop-down list (NewWebItemDlg svc).

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:

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.