IVsSolution3.CreateNewProjectViaDlgEx Method

Opens the New Project dialog and expands specified nodes.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function CreateNewProjectViaDlgEx ( _
    pszDlgTitle As String, _
    pszTemplateDir As String, _
    pszExpand As String, _
    pszSelect As String, _
    pszHelpTopic As String, _
    cnpvdeFlags As UInteger, _
    pBrowse As IVsBrowseProjectLocation _
) As Integer
int CreateNewProjectViaDlgEx(
    string pszDlgTitle,
    string pszTemplateDir,
    string pszExpand,
    string pszSelect,
    string pszHelpTopic,
    uint cnpvdeFlags,
    IVsBrowseProjectLocation pBrowse
)
int CreateNewProjectViaDlgEx(
    [InAttribute] String^ pszDlgTitle, 
    [InAttribute] String^ pszTemplateDir, 
    [InAttribute] String^ pszExpand, 
    [InAttribute] String^ pszSelect, 
    [InAttribute] String^ pszHelpTopic, 
    [InAttribute] unsigned int cnpvdeFlags, 
    [InAttribute] IVsBrowseProjectLocation^ pBrowse
)
abstract CreateNewProjectViaDlgEx : 
        pszDlgTitle:string * 
        pszTemplateDir:string * 
        pszExpand:string * 
        pszSelect:string * 
        pszHelpTopic:string * 
        cnpvdeFlags:uint32 * 
        pBrowse:IVsBrowseProjectLocation -> int 
function CreateNewProjectViaDlgEx(
    pszDlgTitle : String, 
    pszTemplateDir : String, 
    pszExpand : String, 
    pszSelect : String, 
    pszHelpTopic : String, 
    cnpvdeFlags : uint, 
    pBrowse : IVsBrowseProjectLocation
) : int

Parameters

  • pszTemplateDir
    Type: System.String
    [in] Location of the template folder.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsSolution3::CreateNewProjectViaDlgEx(
   [in] LPCOLESTR pszDlgTitle, 
   [in] LPCOLESTR pszTemplateDir, 
   [in] LPCOLESTR pszExpand, 
   [in] LPCOLESTR pszSelect, 
   [in] LPCOLESTR pszHelpTopic, 
   [in] VSCREATENEWPROJVIADLGEXFLAGS cnpvdeFlags, 
   [in] IVsBrowseProjectLocation *pBrowse
);

.NET Framework Security

See Also

Reference

IVsSolution3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace