Поделиться через


Свойство 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 nullпустая ссылка (Nothing в 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 в Visual Basic).

См. также

Справочник

ExceptionMessageBox Класс

Пространство имен Microsoft.SqlServer.MessageBox