共用方式為


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 命名空間