IVsUIShell::GetDirectoryViaBrowseDlg Method (array<VSBROWSEINFOW>^)

 

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

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

int GetDirectoryViaBrowseDlg(
	array<VSBROWSEINFOW>^ pBrowse
)

Parameters

pBrowse
Type: array<Microsoft.VisualStudio.Shell.Interop::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.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsUIShell::GetDirectoryViaBrowseDlg(
   [in,out] VSBROWSEINFOW *pBrowse
);
Return to top
Show: