IVsUIShell.GetDirectoryViaBrowseDlg Yöntem (VSBROWSEINFOW )
Bir dizin konumunu bulmak için Gözat iletişim kutusunu açar.
Ad Alanı: Microsoft.VisualStudio.Shell.Interop
Derleme: Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)
Sözdizimi
int GetDirectoryViaBrowseDlg(
VSBROWSEINFOW[] pBrowse
)
int GetDirectoryViaBrowseDlg(
array<VSBROWSEINFOW>^ pBrowse
)
abstract GetDirectoryViaBrowseDlg :
pBrowse:VSBROWSEINFOW[] -> int
Function GetDirectoryViaBrowseDlg (
pBrowse As VSBROWSEINFOW()
) As Integer
Parametreler
pBrowse
Type: Microsoft.VisualStudio.Shell.Interop.VSBROWSEINFOW[]' de [out] İletişim kutusunu başlatmak için kullanılan bilgileri içeren bir Gözat dosya adı yapısı işaretçisi. Bu yöntem döndürüldüğünde, bu yapı kullanıcı tarafından seçilen dizin konumu hakkında bilgi içerir. Bkz: VSBROWSEINFOW yapısı daha fazla bilgi için.
Dönüş Değeri
Type: System.Int32
Yöntem başarılı olursa, döndürür S_OK. Başarısız olursa, bir hata kodu döndürür.
Notlar
COM imza
Vsshell.idl:
HRESULT IVsUIShell::GetDirectoryViaBrowseDlg(
[in,out] VSBROWSEINFOW *pBrowse
);
Ayrıca bkz.
IVsUIShell Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı
Başa dön