Constants.vbYesNo 字段
定义
指示在调用 Yes 函数时,将显示 No 和 MsgBox 按钮。Indicates that the Yes and No buttons will be displayed when the MsgBox function is called.
public: Microsoft::VisualBasic::MsgBoxStyle vbYesNo = 4;
public const Microsoft.VisualBasic.MsgBoxStyle vbYesNo = 4;
val mutable vbYesNo : Microsoft.VisualBasic.MsgBoxStyle
Public Const vbYesNo As MsgBoxStyle = 4
字段值
注解
调用 MsgBox 函数时,可以 MsgBoxStyle 在代码中使用枚举来替换实际值。When you call the MsgBox function, you can use the MsgBoxStyle enumeration in your code in place of the actual values. Buttons参数采用 MsgBoxStyle 枚举成员。The Buttons argument takes the MsgBoxStyle enumeration members.