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, string dataPath);

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

Produto Versões
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also