System.Web.UI.WebControls.SubMenuStyleCollection.Add Method

Adds a submenu style to the System.Web.UI.WebControls.SubMenuStyleCollection collection.

Syntax

public int Add (SubMenuStyle style)

Parameters

style
The System.Web.UI.WebControls.SubMenuStyle instance to add to the collection.

Returns

The position in the collection at which the System.Web.UI.WebControls.SubMenuStyle instance was inserted.

Remarks

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0