共用方式為


__VSDIRFLAGS Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class __VSDIRFLAGS
public enum class __VSDIRFLAGS
enum __VSDIRFLAGS
[System.Flags]
public enum __VSDIRFLAGS
[<System.Flags>]
type __VSDIRFLAGS = 
Public Enum __VSDIRFLAGS
Inheritance
__VSDIRFLAGS
Attributes

Fields

VSDIRFLAG_BlankSolution 2

Creates a "blank" (empty) solution—doesn't create a project.

VSDIRFLAG_DisableBrowseButton 4

Disables the Browse button for this project/item.

VSDIRFLAG_DisableLocationField 32

Disables the location field for this project/item.

VSDIRFLAG_DisableNameField 8192

Disables the name field for this project/item.

VSDIRFLAG_DontAddDefExtension 8

Doesn't append a default extension to the name provided for the item (invalid for project).

VSDIRFLAG_DontInitNameField 4096

Doesn't initialize the name field for this project/item with a valid name.

VSDIRFLAG_NonLocalTemplate 1

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:

Applies to