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
text
Type: System.StringThe text label for this menu.
navigateUrl
Type: System.StringThe link that is activated when the user clicks the menu item.