Abort
Abort button was pressed. This member is equivalent to the Visual Basic constant vbAbort.
Cancel
Cancel button was pressed. This member is equivalent to the Visual Basic constant vbCancel.
Ignore
Ignore button was pressed. This member is equivalent to the Visual Basic constant vbIgnore.
No
No button was pressed. This member is equivalent to the Visual Basic constant vbNo.
None
Nothing is returned from the dialog box.
Ok
OK button was pressed. This member is equivalent to the Visual Basic constant vbOK.
Retry
Retry button was pressed. This member is equivalent to the Visual Basic constant vbRetry.
Yes
Yes button was pressed. This member is equivalent to the Visual Basic constant vbYes.
Displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.