Partilhar via


Propriedade CustomSymbol

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

Namespace:  Microsoft.SqlServer.MessageBox
Assembly:  Microsoft.ExceptionMessageBox (em Microsoft.ExceptionMessageBox.dll)

Sintaxe

'Declaração
Public Property CustomSymbol As Bitmap
    Get
    Set
'Uso
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)

Valor da propriedade

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

Comentários

When CustomSymbol is not null Nothing nullptr unit uma referência nula (Nothing no 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 uma referência nula (Nothing no Visual Basic) .