다음을 통해 공유


DefaultButton 속성

Gets or sets the default button on the message box.

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

구문

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

주의

The default value is Button1.