IVsSolution3::CreateNewProjectViaDlgEx Method (String^, String^, String^, String^, String^, UInt32, IVsBrowseProjectLocation^)
Visual Studio 2015
Opens the New Project dialog and expands specified nodes.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int CreateNewProjectViaDlgEx( String^ pszDlgTitle, String^ pszTemplateDir, String^ pszExpand, String^ pszSelect, String^ pszHelpTopic, unsigned int cnpvdeFlags, IVsBrowseProjectLocation^ pBrowse )
Parameters
- pszDlgTitle
-
Type:
System::String^
[in] Title of the dialog box.
- pszTemplateDir
-
Type:
System::String^
[in] Location of the template folder.
- pszExpand
-
Type:
System::String^
[in] The node to expand.
- pszSelect
-
Type:
System::String^
[in] The node to select.
- pszHelpTopic
-
Type:
System::String^
[in] Help topic ID.
- cnpvdeFlags
-
Type:
System::UInt32
[in] A __VSCREATENEWPROJVIADLGEXFLAGS value specifying project creation options.
- pBrowse
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsBrowseProjectLocation^
[in] A IVsBrowseProjectLocation specifying a project browser location.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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 );
Show: