共用方式為


__VSCREATENEWPROJVIADLGEXFLAGS Enum

Definition

Specifies new project flags for CreateNewProjectViaDlgEx(String, String, String, String, String, UInt32, IVsBrowseProjectLocation) calls.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
VNPVDE_ALWAYSNEWSOLUTION 1

New solution is always created (no Add to Solution and Close Solution radio buttons).

VNPVDE_OVERRIDEBROWSEBUTTON 2

Browse button functionality is overridden (requires IVsBrowseProjectLocation interface).

VNPVDE_ALWAYSADDTOSOLUTION 4

Project is always added to solution (Add New Project dialog is used).

VNPVDE_ADDNESTEDTOSELECTION 8

Project is added, nested to currently selected project, if supported.

VNPVDE_USENEWWEBSITEDLG 16

Uses the New Web site flavor of the dialog.

Remarks

COM Signature

From vsshell80.idl:

enum __VSCREATENEWPROJVIADLGEXFLAGS  
{  
    VNPVDE_ALWAYSNEWSOLUTION    = 0x00000001,  
    VNPVDE_OVERRIDEBROWSEBUTTON = 0x00000002,  
    VNPVDE_ALWAYSADDTOSOLUTION  = 0x00000004,  
    VNPVDE_ADDNESTEDTOSELECTION = 0x00000008,  
    VNPVDE_USENEWWEBSITEDLG     = 0x00000010,  
};  
typedef DWORD VSCREATENEWPROJVIADLGEXFLAGS;  

Applies to