語言

BaseDataBoundControlDesigner.GetDesignTimeHtml 方法

定義

產生用於設計時渲染控制項的標記。

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

傳回

設計時用來渲染控制項的標記。

備註

該 BaseDataBoundControlDesigner 類別在設計時擷取用於綁定的樣本資料,然後再渲染控制項。 如果控制項不是資料綁定的,它會呼叫該 GetEmptyDesignTimeHtml 方法。 如果在渲染控制項時出現錯誤,它會呼叫該 GetErrorDesignTimeHtml 方法。

適用於

另請參閱