System.Web.UI.Adapters.PageAdapter.RenderBeginHyperlink Method

Renders an opening hyperlink tag that includes the target URL to the response stream.

Syntax

public virtual void RenderBeginHyperlink (System.Web.UI.HtmlTextWriter w, string targetUrl, bool encodeUrl, string softKeyLabel)

Parameters

w
Documentation for this section has not yet been entered.
softKeyLabel
Documentation for this section has not yet been entered.
targetUrl
The string value holding the target URL of the link.
encodeUrl
true to use System.Web.HttpUtility.HtmlAttributeEncode(string) to encode the stream output; otherwise, false.

Remarks

The PageAdapter.RenderBeginHyperlink(System.Web.UI.HtmlTextWriter, string, bool, string) method writes an opening hyperlink tag. When writer is System.Web.UI.HtmlTextWriter, this tag has the following format:

<a href="targetUrl">

Requirements

Namespace: System.Web.UI.Adapters
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0