Version

MessageBoxButtonType Enumeration

Enumeration used to indicate the button type.
Syntax
'Declaration
 
Public Enum MessageBoxButtonType 
   Inherits System.Enum
public enum MessageBoxButtonType : System.Enum 
Members
MemberDescription
ABORTRepresents the Abort button.
CANCELRepresents the Cancel button.
HELPRepresents the Help button.
IGNORERepresents the Ignore button.
NORepresents the No button.
OKRepresents the OK button.
RETRYRepresents the Retry button.
YESRepresents the Yes button.
Remarks
The values assigned to this enumeration are used when retrieving the OS text for the buttons.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also