BaseDataBoundControlDesigner.GetDesignTimeHtml 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生用於設計時渲染控制項的標記。
public:
override System::String ^ GetDesignTimeHtml();
public override string GetDesignTimeHtml();
override this.GetDesignTimeHtml : unit -> string
Public Overrides Function GetDesignTimeHtml () As String
傳回
設計時用來渲染控制項的標記。
備註
該 BaseDataBoundControlDesigner 類別在設計時擷取用於綁定的樣本資料,然後再渲染控制項。 如果控制項不是資料綁定的,它會呼叫該 GetEmptyDesignTimeHtml 方法。 如果在渲染控制項時出現錯誤,它會呼叫該 GetErrorDesignTimeHtml 方法。