Partager via


DefaultButton propriété

Gets or sets the default button on the message box.

Espace de noms :  Microsoft.SqlServer.MessageBox
Assembly :  Microsoft.ExceptionMessageBox (dans Microsoft.ExceptionMessageBox.dll)

Syntaxe

'Déclaration
Public Property DefaultButton As ExceptionMessageBoxDefaultButton
    Get
    Set
'Utilisation
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)

Notes

The default value is Button1.