IVsSolution2::CreateNewProjectViaDlg Method (String^, String^, UInt32)
Visual Studio 2015
Controls options for the Create New Project dialog box.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int CreateNewProjectViaDlg( String^ pszExpand, String^ pszSelect, unsigned int dwReserved )
Parameters
- pszExpand
-
Type:
System::String^
[in] Tree view node that is selected.
- pszSelect
-
Type:
System::String^
[in] List view item that is selected.
- dwReserved
-
Type:
System::UInt32
[in] Reserved for future use.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsSolution2::CreateNewProjectViaDlg( [in] LPCOLESTR pszExpand, [in] LPCOLESTR pszSelect, [in] DWORD dwReserved );
This method brings up the New Project dialog box with the specified tree view node and list view item selected. Use this method to create a new project.
Show: