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)
Syntax
'Declaration
Function GetDirectoryViaBrowseDlg ( _
<OutAttribute> pBrowse As VSBROWSEINFOW() _
) As Integer
'Usage
Dim instance As IVsUIShell
Dim pBrowse As VSBROWSEINFOW()
Dim returnValue As Integer
returnValue = instance.GetDirectoryViaBrowseDlg(pBrowse)
int GetDirectoryViaBrowseDlg(
VSBROWSEINFOW[] pBrowse
)
int GetDirectoryViaBrowseDlg(
[InAttribute] [OutAttribute] array<VSBROWSEINFOW>^ pBrowse
)
abstract GetDirectoryViaBrowseDlg :
pBrowse:VSBROWSEINFOW[] byref -> int
function GetDirectoryViaBrowseDlg(
pBrowse : VSBROWSEINFOW[]
) : int
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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsUIShell::GetDirectoryViaBrowseDlg(
[in,out] VSBROWSEINFOW *pBrowse
);
.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.