Condividi tramite


IVsSolution.CreateNewProjectViaDlg(String, String, UInt32) Method

Definition

Controls options for the Create New Project dialog box.

public:
 int CreateNewProjectViaDlg(System::String ^ pszExpand, System::String ^ pszSelect, System::UInt32 dwReserved);
public:
 int CreateNewProjectViaDlg(Platform::String ^ pszExpand, Platform::String ^ pszSelect, unsigned int dwReserved);
int CreateNewProjectViaDlg(std::wstring const & pszExpand, std::wstring const & pszSelect, unsigned int dwReserved);
public int CreateNewProjectViaDlg (string pszExpand, string pszSelect, uint dwReserved);
abstract member CreateNewProjectViaDlg : string * string * uint32 -> int
Public Function CreateNewProjectViaDlg (pszExpand As String, pszSelect As String, dwReserved As UInteger) As Integer

Parameters

pszExpand
String

[in] Tree view node that is selected.

pszSelect
String

[in] List view item that is selected.

dwReserved
UInt32

[in] Reserved for future use.

Returns

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

Remarks

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.

Applies to