Właściwość Buttons
Pobiera lub ustawia przycisków wyświetlanych w oknie komunikatu.
Przestrzeń nazw: Microsoft.SqlServer.MessageBox
Zestaw: Microsoft.ExceptionMessageBox (w Microsoft.ExceptionMessageBox.dll)
Syntax
'Deklaracja
Public Property Buttons As ExceptionMessageBoxButtons
Get
Set
'Użycie
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)
Wartość właściwości
Typ: Microsoft.SqlServer.MessageBox. . :: . .ExceptionMessageBoxButtons
ExceptionMessageBoxButtons Wartości.
Uwagi
Domyślnie tylko OK jest wyświetlany.
Podczas korzystania z Custom, musisz wywołać SetButtonText do zestaw tekst przycisku przed wywoływaniem Show.