Constants.vbOK Constants.vbOK Constants.vbOK Constants.vbOK Field

Definition

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

public: Microsoft::VisualBasic::MsgBoxResult vbOK = 1;
public const Microsoft.VisualBasic.MsgBoxResult vbOK = 1;
val mutable vbOK : Microsoft.VisualBasic.MsgBoxResult
Public Const vbOK As MsgBoxResult  = 1

Field Value

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