Partager via


Propriété Font

Gets or sets the font used in the message box.

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

Syntaxe

'Déclaration
Public Property Font As Font
    Get
    Set
'Utilisation
Dim instance As ExceptionMessageBox
Dim value As Font

value = instance.Font

instance.Font = value
public Font Font { get; set; }
public:
property Font^ Font {
    Font^ get ();
    void set (Font^ value);
}
member Font : Font with get, set
function get Font () : Font
function set Font (value : Font)

Valeur de propriété

Type : System.Drawing. . :: . .Font
A Font object.

Notes

When a font is set, UseOwnerFont is set to false.

The default value is null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) .