HtmlMenuItem.Render Method
Sends the HtmlMenuItem content 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 Overrides Sub Render ( _
output As HtmlTextWriter _
)
'Usage
Dim output As HtmlTextWriter
Me.Render(output)
protected override void Render(
HtmlTextWriter output
)
Parameters
- output
Type: System.Web.UI.HtmlTextWriter
The object that receives the HtmlMenuItem content.
Remarks
This override renders the HtmlMenuItem based on the properties that have been set. If the Separator property is true, all other property settings will be ignored and a separating horizontal line will be rendered.