다음을 통해 공유


Buttons 속성

Gets or sets the buttons to display in the message box.

네임스페이스:  Microsoft.SqlServer.MessageBox
어셈블리:  Microsoft.ExceptionMessageBox(Microsoft.ExceptionMessageBox.dll)

구문

‘선언
Public Property Buttons As ExceptionMessageBoxButtons
    Get
    Set
‘사용 방법
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)

주의

By default, only OK is displayed.

When you use Custom, you must call SetButtonText to set the button text before calling Show.