共用方式為


BasicHelper.ShowMessageBox 方法 (String, String, String, MsgButton, MsgIcon, MsgDefButton)

命名空間:  Microsoft.TeamFoundation.Common
組件:  Microsoft.VisualStudio.TeamFoundation.Client (在 Microsoft.VisualStudio.TeamFoundation.Client.dll 中)

語法

'宣告
Public Function ShowMessageBox ( _
    message As String, _
    title As String, _
    helpTopic As String, _
    buttons As MsgButton, _
    icon As MsgIcon, _
    defButton As MsgDefButton _
) As MsgResult
public MsgResult ShowMessageBox(
    string message,
    string title,
    string helpTopic,
    MsgButton buttons,
    MsgIcon icon,
    MsgDefButton defButton
)

參數

傳回值

類型:Microsoft.VisualStudio.TeamFoundation.MsgResult
傳回 MsgResult

.NET Framework 安全性

請參閱

參考

BasicHelper 類別

ShowMessageBox 多載

Microsoft.TeamFoundation.Common 命名空間