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)
Available in Sandboxed Solutions: No

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