Condividi tramite


Proprietà DefaultButton

Gets or sets the default button on the message box.

Spazio dei nomi  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)

Sintassi

'Dichiarazione
Public Property DefaultButton As ExceptionMessageBoxDefaultButton
    Get
    Set
'Utilizzo
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)

Osservazioni

The default value is Button1.