ExceptionMessageBox.Buttons Properti

Definisi

Mendapatkan atau mengatur tombol untuk ditampilkan dalam kotak pesan.

public:
 property Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons Buttons { Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons get(); void set(Microsoft::SqlServer::MessageBox::ExceptionMessageBoxButtons value); };
public Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons Buttons { get; set; }
member this.Buttons : Microsoft.SqlServer.MessageBox.ExceptionMessageBoxButtons with get, set
Public Property Buttons As ExceptionMessageBoxButtons

Nilai Properti

Sebuah nilai ExceptionMessageBoxButtons.

Keterangan

Secara default, hanya OK yang ditampilkan.

Saat Anda menggunakan Custom, Anda harus memanggil SetButtonText untuk mengatur teks tombol sebelum memanggil Show.

Berlaku untuk