Partager via


DataConnectionDialog.ChangeDataSourceHeaderLabel Property

Retrieves or sets a summary description appearing on the Data Source dialog box header when the user clicks on the Change... button.

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

Syntax

'Declaration
Public MustOverride Property ChangeDataSourceHeaderLabel As String
public abstract string ChangeDataSourceHeaderLabel { get; set; }
public:
virtual property String^ ChangeDataSourceHeaderLabel {
    String^ get () abstract;
    void set (String^ value) abstract;
}
abstract ChangeDataSourceHeaderLabel : string with get, set
abstract function get ChangeDataSourceHeaderLabel () : String 
abstract function set ChangeDataSourceHeaderLabel (value : String)

Property Value

Type: System.String
Returns a string literal value represented on the dialog box header.

Remarks

Often it is useful to indicate to the user the purpose of a dialog box -- that is, what information it is retrieving and why. This property allows a client to set such header text based on the context in which they are calling the dialog.

The default is no label.

.NET Framework Security

See Also

Reference

DataConnectionDialog Class

Microsoft.VisualStudio.Data Namespace