다음을 통해 공유


UseOwnerFont 속성

Specifies whether to retrieve the font of the owner window and use it as the font for the exception message box.

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

구문

‘선언
Public Property UseOwnerFont As Boolean
    Get
    Set
‘사용 방법
Dim instance As ExceptionMessageBox
Dim value As Boolean

value = instance.UseOwnerFont

instance.UseOwnerFont = value
public bool UseOwnerFont { get; set; }
public:
property bool UseOwnerFont {
    bool get ();
    void set (bool value);
}
member UseOwnerFont : bool with get, set
function get UseOwnerFont () : boolean
function set UseOwnerFont (value : boolean)

속성 값

유형: System. . :: . .Boolean
A Boolean value.

주의

This property is ignored if Font is not null Nothing nullptr unit null 참조(Visual Basic에서는 Nothing) .

The default value is false.