Share via


FormViewDesigner.GetEmptyDesignTimeHtml 方法

定義

取得標記文字,用來在設計階段呈現關聯控制項的替代符號。

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

傳回

String

String,包含在設計介面上呈現為替代符號的標記文字。

備註

如果控制項的 FormView 標記不包含其中一個專案範本, GetDesignTimeHtml 方法會呼叫 GetEmptyDesignTimeHtml 方法,以產生預留位置的標記,其中包含如何編輯範本內容的指示,以及需要專案範本的訊息。

適用於

另請參閱