VsUtilities.ShowSimpleInfoBox Method
Shows a formatted 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 ShowSimpleInfoBox ( _
title As String, _
helpKeyword As String, _
formatText As String, _
ParamArray parms As Object() _
) As DialogResult
'Usage
Dim title As String
Dim helpKeyword As String
Dim formatText As String
Dim parms As Object()
Dim returnValue As DialogResult
returnValue = VsUtilities.ShowSimpleInfoBox(title, _
helpKeyword, formatText, parms)
public static DialogResult ShowSimpleInfoBox(
string title,
string helpKeyword,
string formatText,
params Object[] parms
)
public:
static DialogResult ShowSimpleInfoBox(
String^ title,
String^ helpKeyword,
String^ formatText,
... array<Object^>^ parms
)
public static function ShowSimpleInfoBox(
title : String,
helpKeyword : String,
formatText : String,
... parms : Object[]
) : DialogResult
static member ShowSimpleInfoBox :
title:string *
helpKeyword:string *
formatText:string *
parms:Object[] -> DialogResult
Parameters
- title
Type: System.String
The title of the text box. If null, the VS default is used
- helpKeyword
Type: System.String
The help keyword
- formatText
Type: System.String
The format string for the message
- parms
Type: array<System.Object[]
Parameters used with the format string
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