IVsUIShell2.GetDirectoryViaBrowseDlgEx Yöntem (VSBROWSEINFOW[], String, String, String, VSNSEBROWSEINFOW )
Bir dizin adı (büyük olasılıkla bir ad alanı uzantısında) almak için Gözat iletişim kutusunu açar.
Ad Alanı: Microsoft.VisualStudio.Shell.Interop
Derleme: Microsoft.VisualStudio.Shell.Interop.8.0 (Microsoft.VisualStudio.Shell.Interop.8.0.dll içinde)
Sözdizimi
int GetDirectoryViaBrowseDlgEx(
VSBROWSEINFOW[] pBrowse,
string pszHelpTopic,
string pszOpenButtonLabel,
string pszCeilingDir,
VSNSEBROWSEINFOW[] pNSEBrowseInfo
)
int GetDirectoryViaBrowseDlgEx(
array<VSBROWSEINFOW>^ pBrowse,
String^ pszHelpTopic,
String^ pszOpenButtonLabel,
String^ pszCeilingDir,
array<VSNSEBROWSEINFOW>^ pNSEBrowseInfo
)
abstract GetDirectoryViaBrowseDlgEx :
pBrowse:VSBROWSEINFOW[] *
pszHelpTopic:string *
pszOpenButtonLabel:string *
pszCeilingDir:string *
pNSEBrowseInfo:VSNSEBROWSEINFOW[] -> int
Function GetDirectoryViaBrowseDlgEx (
pBrowse As VSBROWSEINFOW(),
pszHelpTopic As String,
pszOpenButtonLabel As String,
pszCeilingDir As String,
pNSEBrowseInfo As VSNSEBROWSEINFOW()
) As Integer
Parametreler
pBrowse
Type: Microsoft.VisualStudio.Shell.Interop.VSBROWSEINFOW[]' de [out] A VSBROWSEINFOW Yapısı iletişim kutusunu başlatmak için kullanılan bilgiler içerir. Bu yöntem döndürüldüğünde, bu yapı kullanıcı tarafından seçilen dizin konumu hakkında bilgi içerir. Bu değerler tanımlanan VSBROWSEINFOW yapısı.
pszHelpTopic
Type: System.String[in] Yardım konusunun içeren bir dize. Bu geçersiz kılmaları dwHelpTopic parametresinde VSBROWSEINFOW yapısı.
pszOpenButtonLabel
Type: System.String[in] Metin için resim yazısı Açık düğmesi.
pszCeilingDir
Type: System.String[in] Bu konuma göz sınırlayın.
pNSEBrowseInfo
Type: Microsoft.VisualStudio.Shell.Interop.VSNSEBROWSEINFOW[][in] İsteğe bağlı. Ad alanı uzantı bilgileri. Yapısı parametrelerin listesi için bkz: VSNSEBROWSEINFOW yapısı.
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
Vsshell80.idl:
HRESULT IVsUIShell2::GetDirectoryViaBrowseDlgEx(
[in,out] VSBROWSEINFOW *pBrowse,
[in] LPCOLESTR pszHelpTopic,
[in] LPCOLESTR pszOpenButtonLabel,
[in] LPCOLESTR pszCeilingDir,
[in] VSNSEBROWSEINFOW *pNSEBrowseInfo
);
Ayrıca bkz.
IVsUIShell2 Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı
Başa dön