次の方法で共有


ExceptionMessageBox.UseOwnerFont プロパティ

オーナー ウィンドウのフォントを取得して、それを例外メッセージ ボックスのフォントとして使用するかどうかを指定します。

名前空間:  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
Boolean の値です。

説明

このプロパティは、Font が NULL でない場合は無視されます。

既定値は false です。

関連項目

参照

ExceptionMessageBox クラス

Microsoft.SqlServer.MessageBox 名前空間