Initializes a new instance of the MenuItem class

Namespace: Cartella.Models
Assembly: CartellaDomainModels (in CartellaDomainModels.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
public MenuItem(
	string label,
	int count,
	Dictionary<string, string> attributes,
	string action,
	string controller,
	Object routeValues,
	UrlHelper helper
)
Visual Basic
Public Sub New ( _
	label As String, _
	count As Integer, _
	attributes As Dictionary(Of String, String), _
	action As String, _
	controller As String, _
	routeValues As Object, _
	helper As UrlHelper _
)
Visual C++
public:
MenuItem(
	String^ label, 
	int count, 
	Dictionary<String^, String^>^ attributes, 
	String^ action, 
	String^ controller, 
	Object^ routeValues, 
	UrlHelper^ helper
)

Parameters

label
Type: System..::..String
count
Type: System..::..Int32
attributes
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, String>)>)>
action
Type: System..::..String
controller
Type: System..::..String
routeValues
Type: System..::..Object
helper
Type: UrlHelper

See Also