Constants.vbCancel Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates that the Cancel
button was clicked in a message box. Returned by the MsgBox
function.
public: Microsoft::VisualBasic::MsgBoxResult vbCancel = 2;
public const Microsoft.VisualBasic.MsgBoxResult vbCancel = 2;
val mutable vbCancel : Microsoft.VisualBasic.MsgBoxResult
Public Const vbCancel As MsgBoxResult = 2
Field Value
Value = 2Remarks
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
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.