This documentation is archived and is not being maintained.

__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_NonLocalTemplateUses "nonlocal" UI behavior and saves mechanisms.
VSDIRFLAG_BlankSolutionCreates a "blank" (empty) solution—doesn't create a project.
VSDIRFLAG_DisableBrowseButtonDisables the Browse button for this project/item.
VSDIRFLAG_DontAddDefExtensionDoesn't append a default extension to the name provided for the item (invalid for project).
VSDIRFLAG_DisableLocationFieldDisables the location field for this project/item.
VSDIRFLAG_DontInitNameFieldDoesn't initialize the name field for this project/item with a valid name.
VSDIRFLAG_DisableNameFieldDisables the name field for this project/item.

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: