Partager via


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

'Declaration
Public MustOverride Property AcceptButtonText As String
public abstract string AcceptButtonText { get; set; }
public:
virtual property String^ AcceptButtonText {
    String^ get () abstract;
    void set (String^ value) abstract;
}
abstract AcceptButtonText : string with get, set
abstract function get AcceptButtonText () : String 
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".

.NET Framework Security

See Also

Reference

DataConnectionDialog Class

Microsoft.VisualStudio.Data Namespace