Partager via


Propriété UseOwnerFont

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

Espace de noms :  Microsoft.SqlServer.MessageBox
Assembly :  Microsoft.ExceptionMessageBox (en Microsoft.ExceptionMessageBox.dll)

Syntaxe

'Déclaration
Public Property UseOwnerFont As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean value.

Notes

This property is ignored if Font is not null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) .

The default value is false.