DataConnectionDialog.AcceptButtonText Property

Retrieves or sets the text displayed on the button the user clicks to accept the contents of the Data Connection dialog box, then returns from the ShowDialog method.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'宣言
Public MustOverride Property AcceptButtonText As String
'使用
Dim instance As DataConnectionDialog
Dim value As String

value = instance.AcceptButtonText

instance.AcceptButtonText = value
public abstract string AcceptButtonText { get; set; }
public:
virtual property String^ AcceptButtonText {
    String^ get () abstract;
    void set (String^ value) abstract;
}
public abstract function get AcceptButtonText () : String
public abstract function set AcceptButtonText (value : String)

Property Value

Type: System.String

Returns the string value displayed on the button the user clicks to accept the contents of the dialog.

Remarks

The default value of this property is the string "OK".

Permissions

See Also

Reference

DataConnectionDialog Class

DataConnectionDialog Members

Microsoft.VisualStudio.Data Namespace