Bewerken

Delen via


Constants.vbYes Field

Definition

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

public: Microsoft::VisualBasic::MsgBoxResult vbYes = 6;
public const Microsoft.VisualBasic.MsgBoxResult vbYes = 6;
val mutable vbYes : Microsoft.VisualBasic.MsgBoxResult
Public Const vbYes As MsgBoxResult  = 6

Field Value

Value = 6

Remarks

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.

Applies to

See also