ListMenuAdapter.RenderItem Method
Renders a specific item in the list.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overrides Sub RenderItem ( _
writer As HtmlTextWriter, _
item As MenuItem, _
pos As Integer _
)
'Usage
Dim writer As HtmlTextWriter
Dim item As MenuItem
Dim pos As Integer
Me.RenderItem(writer, item, pos)
protected override void RenderItem(
HtmlTextWriter writer,
MenuItem item,
int pos
)
Parameters
writer
Type: System.Web.UI.HtmlTextWriterThe HtmlTextWriter that outputs the list item.
item
Type: System.Web.UI.WebControls.MenuItemThe MenuItem to render in the list.
pos
Type: System.Int32An integer that specifies where the list item will render in the list.