Menu.SetItemDataPath(MenuItem, String) Menu.SetItemDataPath(MenuItem, String) Menu.SetItemDataPath(MenuItem, String) Menu.SetItemDataPath(MenuItem, String) Method

Definition

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

protected:
 void SetItemDataPath(System::Web::UI::WebControls::MenuItem ^ node, System::String ^ dataPath);
protected void SetItemDataPath (System.Web.UI.WebControls.MenuItem node, string dataPath);
member this.SetItemDataPath : System.Web.UI.WebControls.MenuItem * string -> unit
Protected Sub SetItemDataPath (node As MenuItem, dataPath As String)

Parameters

dataPath
String String String String

The data path for the MenuItem.

Remarks

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

Applies to

See also