共用方式為


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

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.

See Also

Reference

HtmlMenuItem Class

HtmlMenuItem Members

Microsoft.SharePoint.Portal.WebControls Namespace