Compartir a través de


__VSCREATENEWPROJVIADLGEXFLAGS Enumeration

Specifies new project flags for CreateNewProjectViaDlgEx calls.

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.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

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

Members

Member name Description
VNPVDE_ADDNESTEDTOSELECTION Project is added, nested to currently selected project, if supported.
VNPVDE_ALWAYSADDTOSOLUTION Project is always added to solution (Add New Project dialog is used).
VNPVDE_ALWAYSNEWSOLUTION New solution is always created (no Add to Solution and Close Solution radio buttons).
VNPVDE_OVERRIDEBROWSEBUTTON Browse button functionality is overridden (requires IVsBrowseProjectLocation interface).
VNPVDE_USENEWWEBSITEDLG 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;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace