ExceptionMessageBox.CustomSymbol 属性

Gets or sets a custom bitmap to use as the symbol on the exception message box.

命名空间:  Microsoft.SqlServer.MessageBox
程序集:  Microsoft.ExceptionMessageBox(在 Microsoft.ExceptionMessageBox.dll 中)

语法

声明
Public Property CustomSymbol As Bitmap 
    Get 
    Set
用法
Dim instance As ExceptionMessageBox 
Dim value As Bitmap 

value = instance.CustomSymbol

instance.CustomSymbol = value
public Bitmap CustomSymbol { get; set; }
public:
property Bitmap^ CustomSymbol {
    Bitmap^ get ();
    void set (Bitmap^ value);
}
member CustomSymbol : Bitmap with get, set
function get CustomSymbol () : Bitmap 
function set CustomSymbol (value : Bitmap)

属性值

类型:System.Drawing.Bitmap
A Bitmap object.

注释

When CustomSymbol is not nullnull 引用(在 Visual Basic 中为 Nothing), the specified bitmap is used as the exception message box symbol and Symbol is ignored.

The specified bitmap is assumed to have a resolution of 32x32 pixels.

The default value is nullnull 引用(在 Visual Basic 中为 Nothing).

请参阅

参考

ExceptionMessageBox 类

Microsoft.SqlServer.MessageBox 命名空间