Export (0) Print
Expand All

Constants.vbYes Field

Indicates that the Yes button was clicked in a message box. Returned by the MsgBox function.

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

public const MsgBoxResult vbYes

When you call the MsgBox function, you can use the MsgBoxResult enumeration in your code in place of the actual values.

The MsgBox function returns a MsgBoxResult enumeration value.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft