Sdílet prostřednictvím


IVsSolution3.CreateNewProjectViaDlgEx Method

Definition

Opens the New Project dialog and expands specified nodes.

public:
 int CreateNewProjectViaDlgEx(System::String ^ pszDlgTitle, System::String ^ pszTemplateDir, System::String ^ pszExpand, System::String ^ pszSelect, System::String ^ pszHelpTopic, System::UInt32 cnpvdeFlags, Microsoft::VisualStudio::Shell::Interop::IVsBrowseProjectLocation ^ pBrowse);
public:
 int CreateNewProjectViaDlgEx(Platform::String ^ pszDlgTitle, Platform::String ^ pszTemplateDir, Platform::String ^ pszExpand, Platform::String ^ pszSelect, Platform::String ^ pszHelpTopic, unsigned int cnpvdeFlags, Microsoft::VisualStudio::Shell::Interop::IVsBrowseProjectLocation ^ pBrowse);
int CreateNewProjectViaDlgEx(std::wstring const & pszDlgTitle, std::wstring const & pszTemplateDir, std::wstring const & pszExpand, std::wstring const & pszSelect, std::wstring const & pszHelpTopic, unsigned int cnpvdeFlags, Microsoft::VisualStudio::Shell::Interop::IVsBrowseProjectLocation const & pBrowse);
public int CreateNewProjectViaDlgEx (string pszDlgTitle, string pszTemplateDir, string pszExpand, string pszSelect, string pszHelpTopic, uint cnpvdeFlags, Microsoft.VisualStudio.Shell.Interop.IVsBrowseProjectLocation pBrowse);
abstract member CreateNewProjectViaDlgEx : string * string * string * string * string * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsBrowseProjectLocation -> int
Public 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

Parameters

pszDlgTitle
String

[in] Title of the dialog box.

pszTemplateDir
String

[in] Location of the template folder.

pszExpand
String

[in] The node to expand.

pszSelect
String

[in] The node to select.

pszHelpTopic
String

[in] Help topic ID.

cnpvdeFlags
UInt32

[in] A __VSCREATENEWPROJVIADLGEXFLAGS value specifying project creation options.

pBrowse
IVsBrowseProjectLocation

[in] A IVsBrowseProjectLocation specifying a project browser location.

Returns

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  
);  

Applies to