UseOwnerFont 屬性

Specifies whether to retrieve the font of the owner window and use it as the font for the exception message box.

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

語法

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

屬性值

型別:System. . :: . .Boolean
A Boolean value.

備註

This property is ignored if Font is not null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) .

The default value is false.