次の方法で共有


Caption プロパティ

例外メッセージ ボックスのダイアログ ボックス キャプションを取得します。値の設定も可能です。

名前空間:  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
String の値です。

説明

空の文字列を既定値に設定します。

Caption が NULL か空で、Message が NULL でない場合、Source プロパティ値がキャプションとして使用されます。