Επεξεργασία

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


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

node
MenuItem

The MenuItem to set.

dataPath
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