HtmlMenuButton.RenderLink Method
Sends the link content for the menu button to the provided HtmlTextWriter object, which writes the content to be rendered on the client.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Sub RenderLink ( _
output As HtmlTextWriter _
)
'Usage
Dim output As HtmlTextWriter
Me.RenderLink(output)
protected void RenderLink(
HtmlTextWriter output
)
Parameters
- output
Type: System.Web.UI.HtmlTextWriter
The object that receives the link content contained in the menu button.
Remarks
The method renders the link used to display the HtmlMenu content to the client based on the HtmlMenuButton properties. If the DisplayHtml property has been set the DisplayHtml property will be rendered instead.