Share via


IVsUIShell.GetDirectoryViaBrowseDlg(VSBROWSEINFOW[]) Method

Definition

Brings up the Browse dialog box to find a directory location.

public:
 int GetDirectoryViaBrowseDlg(cli::array <Microsoft::VisualStudio::Shell::Interop::VSBROWSEINFOW> ^ pBrowse);
int GetDirectoryViaBrowseDlg(std::Array <Microsoft::VisualStudio::Shell::Interop::VSBROWSEINFOW> const & pBrowse);
public int GetDirectoryViaBrowseDlg (Microsoft.VisualStudio.Shell.Interop.VSBROWSEINFOW[] pBrowse);
abstract member GetDirectoryViaBrowseDlg : Microsoft.VisualStudio.Shell.Interop.VSBROWSEINFOW[] -> int
Public Function GetDirectoryViaBrowseDlg (pBrowse As VSBROWSEINFOW()) As Integer

Parameters

pBrowse
VSBROWSEINFOW[]

[in, out] Pointer to a browse file name structure that contains information used to initialize the dialog box. When this method returns, this structure contains information about the directory location selected by the user. See VSBROWSEINFOW structure for more information.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsUIShell::GetDirectoryViaBrowseDlg(  
   [in,out] VSBROWSEINFOW *pBrowse  
);  

Applies to