Export (0) Print
Expand All

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] uint grfProjSlnDlgFlags,
	[InAttribute] string pwzStartDirectory,
	[InAttribute] string pwzDialogTitle,
	[InAttribute] ref 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