The Visual Basic .NET Programming Language

 <  Day Day Up  >  

The MsgBoxResult enumeration is used by the MsgBox function in the Interaction module to indicate which button in a message box was pressed.

OK = 1

The OK button was pressed. Constant equivalent: vbOK .

Cancel = 2

The Cancel button was pressed. Constant equivalent: vbCancel .

Abort = 3

The Abort button was pressed. Constant equivalent: vbAbort .

Retry = 4

The Retry button was pressed. Constant equivalent: vbRetry .

Ignore = 5

The Ignore button was pressed. Constant equivalent: vbIgnore .

Yes = 6

The Yes button was pressed. Constant equivalent: vbYes .

No = 7

The No button was pressed. Constant equivalent: vbNo .

 <  Day Day Up  >  

Категории