Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Constants::vbYesNoCancel Field

 

Indicates that the Yes, No, and Cancel buttons will be displayed when the MsgBox function is called.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
literal MsgBoxStyle vbYesNoCancel

When you call the MsgBox function, you can use the MsgBoxStyle enumeration in your code in place of the actual values. The Buttons argument takes the MsgBoxStyle enumeration members.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft