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
- text
Type: System.String
The message for the text box
- helpKeyword
Type: System.String
The help keyword
Return Value
Type: System.Windows.Forms.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.Host Namespace