IVsSolution.CreateNewProjectViaDlg Method

Controls options for the Create New Project dialog box.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int CreateNewProjectViaDlg (
	[InAttribute] string pszExpand,
	[InAttribute] string pszSelect,
	[InAttribute] uint dwReserved
)
int CreateNewProjectViaDlg (
	/** @attribute InAttribute() */ String pszExpand, 
	/** @attribute InAttribute() */ String pszSelect, 
	/** @attribute InAttribute() */ UInt32 dwReserved
)
function CreateNewProjectViaDlg (
	pszExpand : String, 
	pszSelect : String, 
	dwReserved : uint
) : int

Parameters

pszExpand

[in] Tree view node that is selected.

pszSelect

[in] List view item that is selected.

dwReserved

[in] Reserved for future use.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsSolution::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.

Community Additions

ADD
Show: