Partager via


__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

'Déclaration
<FlagsAttribute> _
Public Enumeration __VSDIRFLAGS
'Utilisation
Dim instance As __VSDIRFLAGS
[FlagsAttribute]
public enum __VSDIRFLAGS
[FlagsAttribute]
public enum class __VSDIRFLAGS
public enum __VSDIRFLAGS

Members

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

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