Freigeben über


Font-Eigenschaft

Gets or sets the font used in the message box.

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

Syntax

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

Eigenschaftenwert

Typ: System.Drawing. . :: . .Font
A Font object.

Hinweise

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

The default value is null Nothing nullptr unit ein NULL-Verweis (Nothing in Visual Basic) .