IVsBrowseProjectLocation.BrowseProjectLocation Method
Presents a browse dialog box for finding the location of a new project.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function BrowseProjectLocation ( _
pszStartDirectory As String, _
<OutAttribute> ByRef pbstrProjectLocation As String _
) As Integer
int BrowseProjectLocation(
string pszStartDirectory,
out string pbstrProjectLocation
)
int BrowseProjectLocation(
[InAttribute] String^ pszStartDirectory,
[OutAttribute] String^% pbstrProjectLocation
)
abstract BrowseProjectLocation :
pszStartDirectory:string *
pbstrProjectLocation:string byref -> int
function BrowseProjectLocation(
pszStartDirectory : String,
pbstrProjectLocation : String
) : int
Parameters
pszStartDirectory
Type: String[in] String containing the starting directory.
pbstrProjectLocation
Type: String%[out] String containing the full path to the chosen location.
Return Value
Type: Int32
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);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.