Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetDirectoryViaBrowseDlg Method

IVsUIShell.GetDirectoryViaBrowseDlg Method

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(
	VSBROWSEINFOW[] pBrowse
)

Parameters

pBrowse
Type: 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.

COM Signature

From vsshell.idl:

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

Show:
© 2015 Microsoft