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) .