ImageMap.Render(HtmlTextWriter) 方法

定义

ImageMap 控件内容发送到指定的 HtmlTextWriter 对象,该对象编写相应内容以便呈现在客户端。Sends the ImageMap control content to the specified HtmlTextWriter object, which writes the content to render on the client.

protected public:
 override void Render(System::Web::UI::HtmlTextWriter ^ writer);
protected internal override void Render (System.Web.UI.HtmlTextWriter writer);
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Friend Overrides Sub Render (writer As HtmlTextWriter)

参数

writer
HtmlTextWriter

接收 ImageMap 控件内容的 HtmlTextWriter 对象。The HtmlTextWriter object that receives the ImageMap control content.

注解

此方法主要由控件开发人员使用。This method is used primarily by control developers. 开发从控件派生的自定义服务器控件时 ImageMap ,可以重写此方法以生成的内容 ImageMapWhen developing a custom server control derived from the ImageMap control, you can override this method to generate content for the ImageMap.

适用于

另请参阅