共用方式為


UIHostService.Show 方法

命名空間:  Microsoft.TeamFoundation.MVVM
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
Public Function Show ( _
    messageBoxText As String, _
    caption As String, _
    buttons As MessageBoxButtons, _
    icon As MessageBoxIcon, _
    defaultResult As MessageBoxResult, _
    options As MessageBoxOptions _
) As DialogResult
public DialogResult Show(
    string messageBoxText,
    string caption,
    MessageBoxButtons buttons,
    MessageBoxIcon icon,
    MessageBoxResult defaultResult,
    MessageBoxOptions options
)

參數

傳回值

型別:System.Windows.Forms.DialogResult

實作

IUIHostService.Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxResult, MessageBoxOptions)

.NET Framework 安全性

請參閱

參考

UIHostService 類別

Microsoft.TeamFoundation.MVVM 命名空間