Expand Minimize

__VSDIRFLAGS Enumeration

VSDIR flags for items and projects to indicate desired AddProject/AddItem dialog state.

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

public enum __VSDIRFLAGS

Member nameDescription
VSDIRFLAG_BlankSolutionCreates a "blank" (empty) solution—doesn't create a project.
VSDIRFLAG_DisableBrowseButtonDisables the Browse button for this project/item.
VSDIRFLAG_DisableLocationFieldDisables the location field for this project/item.
VSDIRFLAG_DisableNameFieldDisables the name field for this project/item.
VSDIRFLAG_DontAddDefExtensionDoesn't append a default extension to the name provided for the item (invalid for project).
VSDIRFLAG_DontInitNameFieldDoesn't initialize the name field for this project/item with a valid name.
VSDIRFLAG_NonLocalTemplateUses "nonlocal" UI behavior and saves mechanisms.

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 vsshell.idl:

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft