共用方式為


ToolZone.RenderVerb(HtmlTextWriter, WebPartVerb) 方法

定義

呈現 ToolZone 控制項的個別動詞命令。

protected:
 virtual void RenderVerb(System::Web::UI::HtmlTextWriter ^ writer, System::Web::UI::WebControls::WebParts::WebPartVerb ^ verb);
protected virtual void RenderVerb (System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.WebParts.WebPartVerb verb);
abstract member RenderVerb : System.Web.UI.HtmlTextWriter * System.Web.UI.WebControls.WebParts.WebPartVerb -> unit
override this.RenderVerb : System.Web.UI.HtmlTextWriter * System.Web.UI.WebControls.WebParts.WebPartVerb -> unit
Protected Overridable Sub RenderVerb (writer As HtmlTextWriter, verb As WebPartVerb)

參數

writer
HtmlTextWriter

HtmlTextWriter,呈現單一動詞命令。

verb
WebPartVerb

要在區域中呈現的 WebPartVerb

備註

方法 RenderVerb 會轉譯區域中特定 WebPartVerb 對象的使用者介面。 方法會檢查 屬性的值 VerbButtonType ,並根據該值,將動詞呈現為按鈕、連結或可點選影像。

適用於

另請參閱