Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OpenProjectOrSolutionViaDlg Method
Collapse the table of content
Expand the table of content

IVsOpenProjectOrSolutionDlg.OpenProjectOrSolutionViaDlg Method

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

int OpenProjectOrSolutionViaDlg (
	[InAttribute] unsigned int grfProjSlnDlgFlags, 
	[InAttribute] String^ pwzStartDirectory, 
	[InAttribute] String^ pwzDialogTitle, 
	[InAttribute] Guid% rguidProjectType
)
int OpenProjectOrSolutionViaDlg (
	/** @attribute InAttribute() */ UInt32 grfProjSlnDlgFlags, 
	/** @attribute InAttribute() */ String pwzStartDirectory, 
	/** @attribute InAttribute() */ String pwzDialogTitle, 
	/** @attribute InAttribute() */ /** @ref */ Guid rguidProjectType
)
JScript does not support passing value-type arguments by reference.

Parameters

grfProjSlnDlgFlags

[in]

pwzStartDirectory

[in] Start directory.

pwzDialogTitle

[in] Dialog box title. Leave a null reference (Nothing in Visual Basic) for default title.

rguidProjectType

[in] Specifies the project type to use with PSDF_DirectoryPicker.

Return Value

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

COM Signature

From vsshell80.idl:

HRESULT IVsOpenProjectOrSolutionDlg::OpenProjectOrSolutionViaDlg(
   [in] VSPROJSLNDLGFLAGS grfProjSlnDlgFlags, 
   [in] LPCOLESTR pwzStartDirectory, 
   [in] LPCOLESTR pwzDialogTitle, 
   [in] REFGUID rguidProjectType
);

Community Additions

ADD
Show:
© 2015 Microsoft