Export (0) Print
Expand All

IVsSolution2.OpenSolutionViaDlg Method

Controls options for the Open Solution dialog box.

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

int OpenSolutionViaDlg (
	string pszStartDirectory,
	int fDefaultToAllProjectsFilter
)
int OpenSolutionViaDlg (
	String pszStartDirectory, 
	int fDefaultToAllProjectsFilter
)
function OpenSolutionViaDlg (
	pszStartDirectory : String, 
	fDefaultToAllProjectsFilter : int
) : int

Parameters

pszStartDirectory

[in] Start directory pointed to by the Open Solution dialog box.

fDefaultToAllProjectsFilter

[in] If true, then the All Project filter is defaulted to instead of the solution filter.

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsSolution2::OpenSolutionViaDlg(
   LPCOLESTR pszStartDirectory, 
   BOOL fDefaultToAllProjectsFilter
);

This method brings up the Open Solution dialog box. The user can then choose a solution or project to open. The solution or project is opened by this method before the method returns.

Community Additions

ADD
Show:
© 2014 Microsoft