다음을 통해 공유


IVsSolution6.BrowseForExistingProject(String, String, Guid, String) Method

Definition

Uses the open project dialog to select a project.

public:
 int BrowseForExistingProject(System::String ^ szDialogTitle, System::String ^ szStartupLocation, Guid preferedProjectType, [Runtime::InteropServices::Out] System::String ^ % pbstrSelected);
public int BrowseForExistingProject (string szDialogTitle, string szStartupLocation, Guid preferedProjectType, out string pbstrSelected);
abstract member BrowseForExistingProject : string * string * Guid * string -> int
Public Function BrowseForExistingProject (szDialogTitle As String, szStartupLocation As String, preferedProjectType As Guid, ByRef pbstrSelected As String) As Integer

Parameters

szDialogTitle
String

[optional] The title of the dialog.

szStartupLocation
String

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

preferedProjectType
Guid

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

pbstrSelected
String

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

Returns

The HRESULT.

Applies to