DataPager.AddAttributesToRender(HtmlTextWriter) DataPager.AddAttributesToRender(HtmlTextWriter) DataPager.AddAttributesToRender(HtmlTextWriter) DataPager.AddAttributesToRender(HtmlTextWriter) Method

定義

將要呈現在瀏覽器中的 HTML 屬性和樣式加入至指定的 HtmlTextWriter 物件。Adds HTML attributes and styles to be rendered in the browser to the specified HtmlTextWriter object.

protected:
 virtual void AddAttributesToRender(System::Web::UI::HtmlTextWriter ^ writer);
protected virtual void AddAttributesToRender (System.Web.UI.HtmlTextWriter writer);
abstract member AddAttributesToRender : System.Web.UI.HtmlTextWriter -> unit
override this.AddAttributesToRender : System.Web.UI.HtmlTextWriter -> unit
Protected Overridable Sub AddAttributesToRender (writer As HtmlTextWriter)

參數

writer
HtmlTextWriter HtmlTextWriter HtmlTextWriter HtmlTextWriter

物件,表示要將 HTML 內容轉譯至瀏覽器的輸出資料流。An object that represents the output stream to render HTML content to the browser.

備註

方法主要是由控制項開發人員用來在DataPager控制項的HtmlTextWriter輸出資料流程中插入其他屬性和樣式。 AddAttributesToRenderThe AddAttributesToRender method is primarily used by control developers to insert additional attributes and styles in the HtmlTextWriter output stream for a DataPager control.

適用於

另請參閱