Share via


Constants.vbDefaultButton3 フィールド

定義

メッセージ ボックスが表示されるときに、左から 3 番目のボタンが既定のボタンとして選択されることを示します。

public: Microsoft::VisualBasic::MsgBoxStyle vbDefaultButton3 = 512;
public const Microsoft.VisualBasic.MsgBoxStyle vbDefaultButton3 = 512;
val mutable vbDefaultButton3 : Microsoft.VisualBasic.MsgBoxStyle
Public Const vbDefaultButton3 As MsgBoxStyle  = 512

フィールド値

Value = 512

' Set the Ignore button as the default button.
MsgBox("Error occurred", vbDefaultButton3 Or vbAbortRetryIgnore)

注釈

関数を MsgBox 呼び出すときは、実際の値の MsgBoxStyle 代わりに、 列挙型をコードで使用できます。 引数は Buttons 列挙メンバーを MsgBoxStyle 受け取ります。

適用対象

こちらもご覧ください