Constants.vbOKOnly 欄位

定義

表示當呼叫該MsgBox函式時,只會顯示按鈕OK

public: Microsoft::VisualBasic::MsgBoxStyle vbOKOnly = 0;
public const Microsoft.VisualBasic.MsgBoxStyle vbOKOnly = 0;
val mutable vbOKOnly : Microsoft.VisualBasic.MsgBoxStyle
Public Const vbOKOnly As MsgBoxStyle  = 0

欄位值

Value = 0

備註

當你呼叫函式時 MsgBox ,你可以在程式碼中用 MsgBoxStyle 列舉來取代實際的值。 該 Buttons 論證取 MsgBoxStyle 列舉成員。

適用於

另請參閱