IVsSolution6::BrowseForExistingProject Method (String^, String^, Guid, String^)

 

Uses the open project dialog to select a project.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)

int BrowseForExistingProject(
	String^ szDialogTitle,
	String^ szStartupLocation,
	Guid preferedProjectType,
	[OutAttribute] String^% pbstrSelected
)

Parameters

szDialogTitle
Type: System::String^

[optional] The title of the dialog.

szStartupLocation
Type: System::String^

[optional] The initial location on disk from which to open the AddExistingProject dialog.

preferedProjectType
Type: System::Guid

[optional] The preferred project type. If this is null, "Any projects" is selected by default.

pbstrSelected
Type: System::String^

[out] If project creation is successful, the name of selected project file.

Return Value

Type: System::Int32

The HRESULT.

Return to top
Show: