Condividi tramite


Proprietà CustomSymbol

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

Spazio dei nomi  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (in Microsoft.ExceptionMessageBox.dll)

Sintassi

'Dichiarazione
Public Property CustomSymbol As Bitmap
    Get
    Set
'Utilizzo
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)

Valore proprietà

Tipo: System.Drawing. . :: . .Bitmap
A Bitmap object.

Osservazioni

When CustomSymbol is not null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). , 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 null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). .