Share via


Caption 속성

Gets or sets the dialog box caption of the exception message box.

네임스페이스:  Microsoft.SqlServer.MessageBox
어셈블리:  Microsoft.ExceptionMessageBox(Microsoft.ExceptionMessageBox.dll)

구문

‘선언
Public Property Caption As String
    Get
    Set
‘사용 방법
Dim instance As ExceptionMessageBox
Dim value As String

value = instance.Caption

instance.Caption = value
public string Caption { get; set; }
public:
property String^ Caption {
    String^ get ();
    void set (String^ value);
}
member Caption : string with get, set
function get Caption () : String
function set Caption (value : String)

속성 값

유형: System. . :: . .String
A String value.

주의

Defaults to an empty string.

If Caption is null or empty and Message is not null, the Source property value is used as the caption.