Udostępnij przez


Właściwość Caption

Pobiera lub ustawia okno dialogowe Podpis pola okna komunikatu wyjątek.

Przestrzeń nazw:  Microsoft.SqlServer.MessageBox
Zestaw:  Microsoft.ExceptionMessageBox (w Microsoft.ExceptionMessageBox.dll)

Syntax

'Deklaracja
Public Property Caption As String
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: System. . :: . .String
A String wartości.

Uwagi

Domyślnie pusty ciąg.

Jeśli Caption jest zerowy lub pusty i Message nie jest null, Source wartość właściwość jest używany jako podpis.