VsUtilities.ShowMessageBox Method

Shows a simple info message box.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.Host
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Function ShowMessageBox ( _
    title As String, _
    text As String, _
    helpKeyword As String _
) As DialogResult
'Usage
Dim title As String
Dim text As String
Dim helpKeyword As String
Dim returnValue As DialogResult

returnValue = VsUtilities.ShowMessageBox(title, _
    text, helpKeyword)
public static DialogResult ShowMessageBox(
    string title,
    string text,
    string helpKeyword
)
public:
static DialogResult ShowMessageBox(
    String^ title, 
    String^ text, 
    String^ helpKeyword
)
public static function ShowMessageBox(
    title : String, 
    text : String, 
    helpKeyword : String
) : DialogResult
static member ShowMessageBox : 
        title:string * 
        text:string * 
        helpKeyword:string -> DialogResult 

Parameters

  • title
    Type: System.String
    The title of the text box. If null, the VS default is used

Return Value

Type: System.Windows.Forms.DialogResult

.NET Framework Security

See Also

Reference

VsUtilities Class

VsUtilities Members

Microsoft.VisualStudio.Data.Schema.Project.Common.Host Namespace