IVsSolution3.CreateNewProjectViaDlgEx Method (String, String, String, String, String, UInt32, IVsBrowseProjectLocation)

 

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)

int CreateNewProjectViaDlgEx(
	string pszDlgTitle,
	string pszTemplateDir,
	string pszExpand,
	string pszSelect,
	string pszHelpTopic,
	uint 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.Int32

If 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
);
Return to top
Show: