Compartir a través de


DataConnectionDialog.ChooseDataSourceHeaderLabel Property

Retrieves or sets text of the description that appears on the header of the Data Source dialog box when it appears before the Data Connection dialog box.

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

Syntax

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

Property Value

Type: System.String
Returns the string literal value of the header text.

Remarks

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

An example value for this property could be "Choose a database type used to store your application data."

The default is no label.

.NET Framework Security

See Also

Reference

DataConnectionDialog Class

Microsoft.VisualStudio.Data Namespace