다음을 통해 공유


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 nullptr unit null 참조(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 null Nothing nullptr unit null 참조(Visual Basic에서는 Nothing) .