ComponentOne ASP.NET MVC Controls
Add(String,Object) Method

C1.Web.Mvc.Fluent Namespace > MenuItemFactory Class > Add Method : Add(String,Object) Method
The header of the MenuItem
The command parameter of the MenuItem
An override factory method for adding MenuItem.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal header As String, _
   Optional ByVal commandParameter As Object _
) As MenuItemBuilder

Parameters

header
The header of the MenuItem
commandParameter
The command parameter of the MenuItem

Return Value

Current builder
See Also

Reference

MenuItemFactory Class
MenuItemFactory Members
Overload List