Partager via


Propriété CustomSymbol

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

Espace de noms :  Microsoft.SqlServer.MessageBox
Assembly :  Microsoft.ExceptionMessageBox (en Microsoft.ExceptionMessageBox.dll)

Syntaxe

'Déclaration
Public Property CustomSymbol As Bitmap
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System.Drawing. . :: . .Bitmap
A Bitmap object.

Notes

When CustomSymbol is not null Nothing nullptr unit une référence Null (Nothing dans 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 une référence Null (Nothing dans Visual Basic) .