共用方式為


IVsDataConnectionDialog.HeaderLabel 屬性

取得或設定出現在 [加入資料連接] 對話方塊的標題為的摘要描述。

命名空間:  Microsoft.VisualStudio.Data.Services
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
Property HeaderLabel As String
string HeaderLabel { get; set; }
property String^ HeaderLabel {
    String^ get ();
    void set (String^ value);
}
abstract HeaderLabel : string with get, set
function get HeaderLabel () : String 
function set HeaderLabel (value : String)

屬性值

類型:String
對話方塊標籤的常值或 nullnull 參考 (即 Visual Basic 中的 Nothing) ,如果未設定任何值。

備註

通常指示使用者很有用的用途的對話方塊都是何種資訊時,它會擷取,以及為何。 這個屬性可讓用戶端將根據呼叫對話方塊內容的此標頭的文字。

這個屬性的範例值可以是「輸入資訊連接所使用的資料庫儲存應用程式資料」。

預設為沒有標籤。

.NET Framework 安全性

請參閱

參考

IVsDataConnectionDialog 介面

Microsoft.VisualStudio.Data.Services 命名空間