.NET Framework Class Library
UserInterface.MsgBoxQuestion Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > UserInterface Class > UserInterface Methods >

.NET Framework Class Library
UserInterface.MsgBoxQuestion Method

Shows a message box with an information icon and Yes/No buttons.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function MsgBoxQuestion ( _

message As String, _
Optional caption As String = "" _
) As Boolean

C#

public bool MsgBoxQuestion(

string message,
string caption = ""
)

Visual C++

public:

bool MsgBoxQuestion(
String^ message,
String^ caption = L""
)

JavaScript

function msgBoxQuestion(message, caption);

Parameters

message

Type: System.String
Message to display

caption (Optional)

Type: System.String
Optional. The title of the window

Return Value

True if the user pressed Yes, otherwise False

See Also

UserInterface Class

UserInterface Members

MwPDMApi Namespace