IUIHostService.Show Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Function Show ( _
messageBoxText As String, _
caption As String, _
buttons As MessageBoxButtons, _
icon As MessageBoxIcon, _
defaultResult As MessageBoxResult, _
options As MessageBoxOptions _
) As DialogResult
DialogResult Show(
string messageBoxText,
string caption,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxResult defaultResult,
MessageBoxOptions options
)
DialogResult Show(
String^ messageBoxText,
String^ caption,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxResult defaultResult,
MessageBoxOptions options
)
abstract Show :
messageBoxText:string *
caption:string *
buttons:MessageBoxButtons *
icon:MessageBoxIcon *
defaultResult:MessageBoxResult *
options:MessageBoxOptions -> DialogResult
function Show(
messageBoxText : String,
caption : String,
buttons : MessageBoxButtons,
icon : MessageBoxIcon,
defaultResult : MessageBoxResult,
options : MessageBoxOptions
) : DialogResult
Parameters
- messageBoxText
Type: System.String
- caption
Type: System.String
- buttons
Type: System.Windows.Forms.MessageBoxButtons
- icon
Type: System.Windows.Forms.MessageBoxIcon
- defaultResult
Type: System.Windows.MessageBoxResult
- options
Type: System.Windows.MessageBoxOptions
Return Value
Type: System.Windows.Forms.DialogResult
Returns DialogResult.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.