Buttons 属性
Gets or sets the buttons to display in the message box.
命名空间: Microsoft.SqlServer.MessageBox
程序集: Microsoft.ExceptionMessageBox(在 Microsoft.ExceptionMessageBox.dll 中)
语法
声明
Public Property Buttons As ExceptionMessageBoxButtons
Get
Set
用法
Dim instance As ExceptionMessageBox
Dim value As ExceptionMessageBoxButtons
value = instance.Buttons
instance.Buttons = value
public ExceptionMessageBoxButtons Buttons { get; set; }
public:
property ExceptionMessageBoxButtons Buttons {
ExceptionMessageBoxButtons get ();
void set (ExceptionMessageBoxButtons value);
}
member Buttons : ExceptionMessageBoxButtons with get, set
function get Buttons () : ExceptionMessageBoxButtons
function set Buttons (value : ExceptionMessageBoxButtons)
注释
By default, only OK is displayed.
When you use Custom, you must call SetButtonText to set the button text before calling Show.