Compartilhar via


OLEMSGBUTTON Enumeration

Specifies the button to display with a message.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Public Enumeration OLEMSGBUTTON
public enum OLEMSGBUTTON
public enum class OLEMSGBUTTON
type OLEMSGBUTTON
public enum OLEMSGBUTTON

Members

Member name Description
OLEMSGBUTTON_ABORTRETRYIGNORE Displays the ABORT, RETRY, and IGNORE buttons.
OLEMSGBUTTON_OK Displays the OK button.
OLEMSGBUTTON_OKCANCEL Displays the OK and CANCEL buttons.
OLEMSGBUTTON_RETRYCANCEL Displays the RETRY and CANCEL buttons.
OLEMSGBUTTON_YESALLNOCANCEL Displays the YES, ALL, NO, and CANCEL buttons.
OLEMSGBUTTON_YESNO Displays the YES and NO buttons.
OLEMSGBUTTON_YESNOCANCEL Displays the YES, NO, and CANCEL buttons.

Remarks

The OLEMSGBUTTON value controls the button set to be used with a message.

COM Signature

From oleipc.idl.

[C++]

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace