Επεξεργασία

Κοινή χρήση μέσω


Menu.SetItemDataBound(MenuItem, Boolean) Method

Definition

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

protected:
 void SetItemDataBound(System::Web::UI::WebControls::MenuItem ^ node, bool dataBound);
protected void SetItemDataBound (System.Web.UI.WebControls.MenuItem node, bool dataBound);
member this.SetItemDataBound : System.Web.UI.WebControls.MenuItem * bool -> unit
Protected Sub SetItemDataBound (node As MenuItem, dataBound As Boolean)

Parameters

node
MenuItem

The MenuItem to set.

dataBound
Boolean

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

Remarks

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

Applies to

See also