共用方式為


Font 屬性

Gets or sets the font used in the message box.

命名空間:  Microsoft.SqlServer.MessageBox
組件:  Microsoft.ExceptionMessageBox (在 Microsoft.ExceptionMessageBox.dll 中)

語法

'宣告
Public Property Font As Font
    Get
    Set
'用途
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)

屬性值

型別:System.Drawing. . :: . .Font
A Font object.

備註

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

The default value is null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) .