XhtmlControlAdapter.RenderBeginLink 方法

定义

呈现链接的开始标记。Renders the opening tag of a link. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

重载

RenderBeginLink(XhtmlMobileTextWriter, String, String, Style, String)

使用给定 XhtmlMobileTextWriter 和目标以及给定样式或给定级联样式表类名称来呈现链接的开始标记。Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as the given styles or the given cascading style sheet class name. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderBeginLink(XhtmlMobileTextWriter, String, String, Style, String, String)

使用给定 XhtmlMobileTextWriter 和目标,并使用给定样式或给定级联样式表类名称、访问键和标题文本来呈现链接的开始标记。Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as either the given styles or the given cascading style sheet class name, the access key, and the title text. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

RenderBeginLink(XhtmlMobileTextWriter, String)

使用给定 XhtmlMobileTextWriter 和目标呈现链接的开始标记。Renders the opening tag of a link using the given XhtmlMobileTextWriter and target. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

使用给定 XhtmlMobileTextWriter 和目标以及给定样式或给定级联样式表类名称来呈现链接的开始标记。Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as the given styles or the given cascading style sheet class name. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual void RenderBeginLink(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer, System::String ^ target, System::String ^ accessKey, System::Web::UI::MobileControls::Style ^ style, System::String ^ cssClass);
protected virtual void RenderBeginLink (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer, string target, string accessKey, System.Web.UI.MobileControls.Style style, string cssClass);
abstract member RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string * string * System.Web.UI.MobileControls.Style * string -> unit
override this.RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string * string * System.Web.UI.MobileControls.Style * string -> unit
Protected Overridable Sub RenderBeginLink (writer As XhtmlMobileTextWriter, target As String, accessKey As String, style As Style, cssClass As String)

参数

writer
XhtmlMobileTextWriter

用于在客户端浏览器上呈现服务器控件内容的 XhtmlMobileTextWriter 对象。The XhtmlMobileTextWriter object used to render the server control content on the client's browser.

target
String

目标窗体或 URL。The target form or URL.

accessKey
String

用作快捷键的字符。A character to use as the shortcut key.

style
Style

Style 对象。A Style object.

cssClass
String

一个级联样式表类名称。A cascading style sheet class name.

注解

此方法自动检查链接类型并呈现相应的标记。This method automatically checks for the type of link and renders the appropriate markup. 指定的目标可以引用同一页上的另一个 URL 或窗体。The specified target can refer to another URL or to a form on the same page. 如果不 stylenull ,则将样式应用到链接。If style is not null, the styles are applied to the link. 如果不是 cssClass 空字符串 ( "" ) 并且 stylenull ,则该链接将使用类属性呈现。If cssClass is not an empty string ("") and style is null, the link is rendered with a class attribute.

此方法主要由 .NET Framework 在内部使用。This method is primarily used by the .NET Framework internally.

另请参阅

适用于

使用给定 XhtmlMobileTextWriter 和目标,并使用给定样式或给定级联样式表类名称、访问键和标题文本来呈现链接的开始标记。Renders the opening tag of a link using the given XhtmlMobileTextWriter and target, as well as either the given styles or the given cascading style sheet class name, the access key, and the title text. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual void RenderBeginLink(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer, System::String ^ target, System::String ^ accessKey, System::Web::UI::MobileControls::Style ^ style, System::String ^ cssClass, System::String ^ title);
protected virtual void RenderBeginLink (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer, string target, string accessKey, System.Web.UI.MobileControls.Style style, string cssClass, string title);
abstract member RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string * string * System.Web.UI.MobileControls.Style * string * string -> unit
override this.RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string * string * System.Web.UI.MobileControls.Style * string * string -> unit
Protected Overridable Sub RenderBeginLink (writer As XhtmlMobileTextWriter, target As String, accessKey As String, style As Style, cssClass As String, title As String)

参数

writer
XhtmlMobileTextWriter

用于在客户端浏览器上呈现服务器控件内容的 XhtmlMobileTextWriter 对象。The XhtmlMobileTextWriter object used to render the server control content on the client's browser.

target
String

目标窗体或 URL。The target form or URL.

accessKey
String

用作快捷键的字符。A character to use as the shortcut key.

style
Style

Style 对象。A Style object.

cssClass
String

一个级联样式表类名称。A cascading style sheet class name.

title
String

链接的 title 属性的文本。The text for the title attribute of the link.

注解

此方法主要由 .NET Framework 在内部使用。This method is primarily used by the .NET Framework internally.

另请参阅

适用于

使用给定 XhtmlMobileTextWriter 和目标呈现链接的开始标记。Renders the opening tag of a link using the given XhtmlMobileTextWriter and target. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual void RenderBeginLink(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer, System::String ^ target);
protected virtual void RenderBeginLink (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer, string target);
abstract member RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string -> unit
override this.RenderBeginLink : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string -> unit
Protected Overridable Sub RenderBeginLink (writer As XhtmlMobileTextWriter, target As String)

参数

writer
XhtmlMobileTextWriter

用于在客户端浏览器上呈现服务器控件内容的 XhtmlMobileTextWriter 对象。The XhtmlMobileTextWriter object used to render the server control content on the client's browser.

target
String

目标窗体的名称,或者是 URL。The name of the target form, or a URL.

注解

此方法自动检查链接类型并呈现相应的标记。This method automatically checks for the type of link and renders the appropriate markup. 指定的目标可以引用同一页上的另一个 URL 或窗体。The specified target can refer to another URL or to a form on the same page.

此方法主要由 .NET Framework 在内部使用。This method is primarily used by the .NET Framework internally.

另请参阅

适用于