共用方式為


BaseDataBoundControlDesigner.GetEmptyDesignTimeHtml 方法

定義

如果控制項是空白,或者無法擷取資料來源,則提供在設計階段用來呈現控制項的標記。

protected:
 override System::String ^ GetEmptyDesignTimeHtml();
protected override string GetEmptyDesignTimeHtml ();
override this.GetEmptyDesignTimeHtml : unit -> string
Protected Overrides Function GetEmptyDesignTimeHtml () As String

傳回

String

在設計階段用來利用空資料來源以呈現控制項的標記。

備註

BaseDataBoundControlDesigner類別會在轉譯控制項之前,先在設計階段將用來進行系結用途的範例資料進行提取。 空白的設計階段控制項會轉譯為包含型別名稱和控制項名稱的預留位置。

適用於

另請參閱