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

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

value = instance.ChooseDataSourceHeaderLabel

instance.ChooseDataSourceHeaderLabel = value
public abstract string ChooseDataSourceHeaderLabel { get; set; }
public:
virtual property String^ ChooseDataSourceHeaderLabel {
    String^ get () abstract;
    void set (String^ value) abstract;
}
public abstract function get ChooseDataSourceHeaderLabel () : String
public 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.

Permissions

See Also

Reference

DataConnectionDialog Class

DataConnectionDialog Members

Microsoft.VisualStudio.Data Namespace