DefaultButton 属性

Gets or sets the default button on the message box.

命名空间:  Microsoft.SqlServer.MessageBox
程序集:  Microsoft.ExceptionMessageBox(在 Microsoft.ExceptionMessageBox.dll 中)

语法

声明
Public Property DefaultButton As ExceptionMessageBoxDefaultButton
    Get
    Set
用法
Dim instance As ExceptionMessageBox
Dim value As ExceptionMessageBoxDefaultButton

value = instance.DefaultButton

instance.DefaultButton = value
public ExceptionMessageBoxDefaultButton DefaultButton { get; set; }
public:
property ExceptionMessageBoxDefaultButton DefaultButton {
    ExceptionMessageBoxDefaultButton get ();
    void set (ExceptionMessageBoxDefaultButton value);
}
member DefaultButton : ExceptionMessageBoxDefaultButton with get, set
function get DefaultButton () : ExceptionMessageBoxDefaultButton
function set DefaultButton (value : ExceptionMessageBoxDefaultButton)

注释

The default value is Button1.