Freigeben über


ExceptionMessageBox.UseOwnerFont-Eigenschaft

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

Namespace:  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)

Syntax

'Declaration
Public Property UseOwnerFont As Boolean 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: System.Boolean
A Boolean value.

Hinweise

This property is ignored if Font is not nullein NULL-Verweis (Nothing in Visual Basic).

The default value is false.

Siehe auch

Verweis

ExceptionMessageBox Klasse

Microsoft.SqlServer.MessageBox-Namespace