Partager via


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
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: 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

See Also

Reference

IVsUIShell Interface

Microsoft.VisualStudio.Shell.Interop Namespace