Constants.vbYesNoCancel 欄位

定義

表示Yes當函式被呼叫時MsgBox,會顯示 、 NoCancel 按鈕。

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 列舉成員。

適用於

另請參閱