Partilhar via


Propriedade DefaultButton

Gets or sets the default button on the message box.

Namespace:  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (em Microsoft.ExceptionMessageBox.dll)

Sintaxe

'Declaração
Public Property DefaultButton As ExceptionMessageBoxDefaultButton
    Get
    Set
'Uso
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)

Comentários

The default value is Button1.