Share via


Menu constructor (String, String)

Initializes a new instance of the Menu class with the specified label and target URL.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    text As String, _
    navigateUrl As String _
)
'Usage
Dim text As String
Dim navigateUrl As String

Dim instance As New Menu(text, navigateUrl)
public Menu(
    string text,
    string navigateUrl
)

Parameters

  • navigateUrl
    Type: System.String

    The link that is activated when the user clicks the menu item.

See also

Reference

Menu class

Menu members

Menu overload

Microsoft.SharePoint.WebControls namespace