This documentation is archived and is not being maintained.

__VSDIRFLAGS Enumeration

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

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

public enum __VSDIRFLAGS
/** @attribute FlagsAttribute() */ 
public enum __VSDIRFLAGS
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: