共用方式為


VSConstants.MessageBoxResult Enumeration

Specifies result codes from ShowMessageBox.

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

Syntax

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

Members

Member name Description
IDABORT The result code for Abort.
IDCANCEL The result code for Cancel.
IDCLOSE The result code for Close.
IDCONTINUE The result code for Continue.
IDHELP The result code for Help.
IDIGNORE The result code for Ignore.
IDNO The result code for No.
IDOK The result code for OK.
IDRETRY The result code for Retry.
IDTRYAGAIN The result code for Try Again.
IDYES The result code for Yes.

See Also

Reference

Microsoft.VisualStudio Namespace