__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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration __VSDIRFLAGS
[FlagsAttribute]
public enum __VSDIRFLAGS
[FlagsAttribute]
public enum class __VSDIRFLAGS
[<FlagsAttribute>]
type __VSDIRFLAGS
public enum __VSDIRFLAGS

Members

Member name Description
VSDIRFLAG_BlankSolution Creates a "blank" (empty) solution—doesn't create a project.
VSDIRFLAG_DisableBrowseButton Disables the Browse button for this project/item.
VSDIRFLAG_DisableLocationField Disables the location field for this project/item.
VSDIRFLAG_DisableNameField Disables the name field for this project/item.
VSDIRFLAG_DontAddDefExtension Doesn't append a default extension to the name provided for the item (invalid for project).
VSDIRFLAG_DontInitNameField Doesn't initialize the name field for this project/item with a valid name.
VSDIRFLAG_NonLocalTemplate Uses "nonlocal" UI behavior and saves mechanisms.

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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace