Compartilhar via


Propriedade UseOwnerFont

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 (em Microsoft.ExceptionMessageBox.dll)

Sintaxe

'Declaração
Public Property UseOwnerFont As Boolean
    Get
    Set
'Uso
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)

Valor da propriedade

Tipo: System. . :: . .Boolean
A Boolean value.

Comentários

This property is ignored if Font is not null Nothing nullptr unit uma referência nula (Nothing no Visual Basic) .

The default value is false.