共用方式為


BaseDataBoundControlDesigner.GetDesignTimeHtml 方法

定義

產生在設計階段用來呈現控制項的標記。

public:
 override System::String ^ GetDesignTimeHtml();
public override string GetDesignTimeHtml ();
override this.GetDesignTimeHtml : unit -> string
Public Overrides Function GetDesignTimeHtml () As String

傳回

String

在設計階段用來呈現控制項的標記。

備註

BaseDataBoundControlDesigner類別會在轉譯控制項之前,先在設計階段將用來進行系結用途的範例資料進行提取。 如果控制項不是資料系結,則會呼叫 GetEmptyDesignTimeHtml 方法。 如果呈現控制項時發生錯誤,則會呼叫 GetErrorDesignTimeHtml 方法。

適用於

另請參閱