Compartir a través de


IVsBrowseProjectLocation.BrowseProjectLocation(String, String) Method

Definition

Presents a browse dialog box for finding the location of a new project.

public:
 int BrowseProjectLocation(System::String ^ pszStartDirectory, [Runtime::InteropServices::Out] System::String ^ % pbstrProjectLocation);
int BrowseProjectLocation(std::wstring const & pszStartDirectory, [Runtime::InteropServices::Out] std::wstring const & & pbstrProjectLocation);
public int BrowseProjectLocation (string pszStartDirectory, out string pbstrProjectLocation);
abstract member BrowseProjectLocation : string * string -> int
Public Function BrowseProjectLocation (pszStartDirectory As String, ByRef pbstrProjectLocation As String) As Integer

Parameters

pszStartDirectory
String

[in] String containing the starting directory.

pbstrProjectLocation
String

[out] String containing the full path to the chosen location.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

C++  
HRESULT IVsBrowseProjectLocation::BrowseProjectLocation([in] LPCOLESTR pszStartDirectory, [out] BSTR *pbstrProjectLocation);  

Applies to