次の方法で共有


ExceptionMessageBox.Font プロパティ

メッセージ ボックスで使用するフォントを取得します。値の設定も可能です。

名前空間:  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
Font オブジェクトです。

説明

フォントが設定されると、UseOwnerFont は false に設定されます。

既定値は NULL です。

関連項目

参照

ExceptionMessageBox クラス

Microsoft.SqlServer.MessageBox 名前空間