Constants.vbYesNoCancel 欄位

定義

指出在呼叫 Yes 函式時將顯示 NoCancelMsgBox 按鈕。

public: Microsoft::VisualBasic::MsgBoxStyle vbYesNoCancel = 3;
public const Microsoft.VisualBasic.MsgBoxStyle vbYesNoCancel = 3;
val mutable vbYesNoCancel : Microsoft.VisualBasic.MsgBoxStyle
Public Const vbYesNoCancel As MsgBoxStyle  = 3

欄位值

Value = 3

備註

當您呼叫 函式時 MsgBox ,您可以在程式代碼中使用 MsgBoxStyle 列舉來取代實際值。 自 Buttons 變數會接受 MsgBoxStyle 列舉成員。

適用於

另請參閱