Partager via


Propriété Caption

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

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

Syntaxe

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

Valeur de propriété

Type : System. . :: . .String
A String value.

Notes

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.