IVsDataConnectionDialog.AcceptButtonText Property

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

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

Syntax

'宣言
Property AcceptButtonText As String
'使用
Dim instance As IVsDataConnectionDialog
Dim value As String

value = instance.AcceptButtonText

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

Property Value

Type: System.String

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

Remarks

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

Permissions

See Also

Reference

IVsDataConnectionDialog Interface

IVsDataConnectionDialog Members

Microsoft.VisualStudio.Data.Services Namespace