Menu.SetItemDataBound Method (MenuItem, Boolean)

 

Sets the DataBound property of the specified MenuItem object with the specified value.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

Protected Sub SetItemDataBound (
	node As MenuItem,
	dataBound As Boolean
)

Parameters

node
Type: System.Web.UI.WebControls.MenuItem

The MenuItem to set.

dataBound
Type: System.Boolean

true to set the node as data-bound; otherwise, false.

The SetItemDataBound method is a helper method used by derived classes to set the DataBound property of the specified MenuItem object.

.NET Framework
Available since 2.0
Return to top
Show: