共用方式為


VSConstants.MessageBoxResult Enum

Definition

Result codes from IVsUIShell.ShowMessageBox.

public: enum class VSConstants::MessageBoxResult
enum VSConstants::MessageBoxResult
public enum VSConstants.MessageBoxResult
type VSConstants.MessageBoxResult = 
Public Enum VSConstants.MessageBoxResult
Inheritance
VSConstants.MessageBoxResult

Fields

Name Value Description
IDOK 1

The result code for OK.

IDCANCEL 2

The result code for Cancel.

IDABORT 3

The result code for Abort.

IDRETRY 4

The result code for Retry.

IDIGNORE 5

The result code for Ignore.

IDYES 6

The result code for Yes.

IDNO 7

The result code for No.

IDCLOSE 8

The result code for Close.

IDHELP 9

The result code for Help.

IDTRYAGAIN 10

The result code for Try Again.

IDCONTINUE 11

The result code for Continue.

Applies to